-
Notifications
You must be signed in to change notification settings - Fork 0
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
DOPE-247: added array star function, tests and cm extensions #69
base: main
Are you sure you want to change the base?
Conversation
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.
Please also add support for this syntax [*]
: https://docs.couchbase.com/cloud/n1ql/n1ql-language-reference/arrayfun.html#array-references
core/src/main/kotlin/ch/ergon/dope/resolvable/expression/unaliased/type/Parameter.kt
Outdated
Show resolved
Hide resolved
.../dope/resolvable/expression/unaliased/type/function/arrayfunction/ArrayStarExpressionTest.kt
Show resolved
Hide resolved
.../dope/resolvable/expression/unaliased/type/function/arrayfunction/ArrayStarExpressionTest.kt
Show resolved
Hide resolved
...rgon/dope/resolvable/expression/unaliased/type/function/arrayfunction/ArrayStarExpression.kt
Outdated
Show resolved
Hide resolved
...rgon/dope/resolvable/expression/unaliased/type/function/arrayfunction/ArrayStarExpression.kt
Outdated
Show resolved
Hide resolved
…dope-247-array-star-function
override fun toDopeQuery(manager: DopeQueryManager): DopeQuery { | ||
val objectArrayDopeQuery = objectArray.toDopeQuery(manager) | ||
return DopeQuery( | ||
queryString = "${objectArrayDopeQuery.queryString}[*]", |
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.
use the pre existing const ASTERISK_STRING
for *
https://docs.couchbase.com/cloud/n1ql/n1ql-language-reference/arrayfun.html#fn-array-star