Skip to content

[Feature] SQL: Add all combinations of element refs and ids for 'create' methods  #586

@EotT123

Description

@EotT123

Enhance the create methods for SQL objects by offering more flexibility for handling foreign keys. Currently, users have to choose between object references or IDs, but not a mix of them.

Example:

  • Currently:
create(Foo fooRef, Bar barRef, ...) // all by reference
create(Integer fooId, Integer barId, ...) // all by id
  • Wanted:
create(Foo fooRef, Bar barRef, ...)
create(Integer fooId, Integer barId, ...) // new: mix
create(Foo fooRef, Integer barId, ...)
create(Integer fooId, Bar barRef, ...) // new: mix

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions