Skip to content

Support for composite primary keys #29

@iriina

Description

@iriina

Hi,

Are there any plans for adding support for composite primary keys (or is this possible with the current library)? Maybe something like a new annotation in the Contract that defines the fields that will make the primary key (or an annotation per each field/column that will be part of the composite key). And then modify the code for createTable in ProviGenOpenHelper to take this fields into account (if the annotation is defined) when setting the primary key. Would this work or it requires more modifications to the code?

Thanks,
Irina

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions