Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for composite keys #9

Closed
ajozwik opened this issue Aug 9, 2019 · 1 comment
Closed

Support for composite keys #9

ajozwik opened this issue Aug 9, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@ajozwik
Copy link
Owner

ajozwik commented Aug 9, 2019

Quill does not support query on Embedded class. See StatementInterpolator.scala

          s"    run(query[Users].update(_.embeddedCaseClass -> lift(someInstance)))\n" +
          s"  In that case, make sure you are updating individual columns, for example:\n" +
          s"    run(query[Users].update(\n" +
          s"       _.embeddedCaseClass.a -> lift(someInstance.a),\n" +
          s"       _.embeddedCaseClass.b -> lift(someInstance.b)\n" +
          s"    ))"

At least simple support for Embedded composite key with two arguments is needed.

@ajozwik ajozwik added the enhancement New feature or request label Aug 9, 2019
@ajozwik ajozwik added this to the v0.6.0 milestone Aug 9, 2019
@ajozwik ajozwik self-assigned this Aug 9, 2019
@ajozwik
Copy link
Owner Author

ajozwik commented Aug 11, 2019

v0.6.0

@ajozwik ajozwik closed this as completed Aug 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant