-
Notifications
You must be signed in to change notification settings - Fork 348
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
Add support of 'contains' operation on Cassandra collections #813
Conversation
bd3b9c8
to
feed4be
Compare
0730fc3
to
ee21096
Compare
contains on collection requires |
@@ -49,6 +49,7 @@ trait Parsing { | |||
case `propertyParser`(value) => value | |||
case `stringInterpolationParser`(value) => value | |||
case `optionOperationParser`(value) => value | |||
case `traversableOperationParser`(value) => value |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
formatting seems off
@@ -60,7 +60,7 @@ trait OrientDBIdiom extends Idiom { | |||
a.token | |||
case a @ ( | |||
_: Function | _: FunctionApply | _: Dynamic | _: OptionOperation | _: Block | | |||
_: Val | _: Ordering | _: QuotedReference | |||
_: Val | _: Ordering | _: QuotedReference | _: TraversableOperation | |||
) => | |||
fail(s"Malformed query $a.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you change the error to something like Malformed or unsupported construct: $a
@@ -60,7 +60,7 @@ trait SqlIdiom extends Idiom { | |||
case a: Assignment => a.token | |||
case a @ ( | |||
_: Function | _: FunctionApply | _: Dynamic | _: OptionOperation | _: Block | | |||
_: Val | _: Ordering | _: QuotedReference | |||
_: Val | _: Ordering | _: QuotedReference | _: TraversableOperation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
besides the minor issues, LGTM. Thanks @mentegy!
the build seems to fail because tut detects errors in the readme |
ee21096
to
4a1547f
Compare
4a1547f
to
271d751
Compare
Fixes partially #774
Problem
Quill does not provide support for
contains
on collectionsSolution
Provide support for
contains
on collectionsNotes
Checklist
README.md
if applicable[WIP]
to the pull request title if it's work in progresssbt scalariformFormat test:scalariformFormat
to make sure that the source files are formatted@getquill/maintainers