Skip to content

Subqueries and Composite Primary Keys #16

@tmi

Description

@tmi

Hello,

this project looks very interesting, but there are two features at the moment which prevent my migration from sqlalchemy to it:

  1. Composite primary keys -- in sqlalchemy you can set primary_key=True on multiple fields, making their combination the primary key of the table, whereas in oxyde it appears only single column can be selected as such
  2. Support for subqueries -- in sqlalchemy you can select(...).where(...).subquery() and then use that eg in a .join(...), converting the full thing to a single sql query

I apologize in advance if my assessment of existing Oxyde features is incorrect, I did only a brief skim.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions