-
Notifications
You must be signed in to change notification settings - Fork 0
DOPE-263: added with clause #78
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
Conversation
# Conflicts: # core/src/integrationTest/kotlin/ch/ergon/dope/clauses/SelectQueryIntegrationTest.kt
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.
I am not really fond with this approche, i would rather go for:
QueryBuilder()
.with(
QueryBuilder().select(...).fro(...) ... .alias("subquery")
)
.select(...)
What do you think?
Do you mean the order of variable and alias? I did it analogous to the |
core/src/main/kotlin/ch/ergon/dope/resolvable/clause/ISelectClause.kt
Outdated
Show resolved
Hide resolved
core/src/main/kotlin/ch/ergon/dope/resolvable/clause/ISelectClause.kt
Outdated
Show resolved
Hide resolved
core/src/main/kotlin/ch/ergon/dope/resolvable/clause/model/SelectClause.kt
Outdated
Show resolved
Hide resolved
core/src/main/kotlin/ch/ergon/dope/resolvable/clause/model/SelectClause.kt
Outdated
Show resolved
Hide resolved
core/src/main/kotlin/ch/ergon/dope/resolvable/clause/model/SelectClause.kt
Outdated
Show resolved
Hide resolved
core/src/main/kotlin/ch/ergon/dope/resolvable/clause/model/WithClause.kt
Outdated
Show resolved
Hide resolved
core/src/main/kotlin/ch/ergon/dope/resolvable/clause/model/WithClause.kt
Outdated
Show resolved
Hide resolved
core/src/main/kotlin/ch/ergon/dope/resolvable/clause/model/WithClause.kt
Outdated
Show resolved
Hide resolved
core/src/main/kotlin/ch/ergon/dope/resolvable/clause/model/WithClause.kt
Outdated
Show resolved
Hide resolved
core/src/main/kotlin/ch/ergon/dope/resolvable/clause/model/WithClause.kt
Outdated
Show resolved
Hide resolved
# Conflicts: # core/src/main/kotlin/ch/ergon/dope/resolvable/clause/ISelectClause.kt
…bstract interface for select clauses
…for query string construction
# Conflicts: # core/src/integrationTest/kotlin/ch/ergon/dope/clauses/UpdateIntegrationTest.kt
# Conflicts: # core/src/integrationTest/kotlin/ch/ergon/dope/clauses/SelectQueryIntegrationTest.kt # crystal-map-connector/src/test/kotlin/ch/ergon/dope/extensions/clause/SelectClauseTest.kt
core/src/main/kotlin/ch/ergon/dope/resolvable/clause/model/WithClause.kt
Show resolved
Hide resolved
# Conflicts: # core/src/main/kotlin/ch/ergon/dope/resolvable/clause/ISelectClause.kt # core/src/test/kotlin/ch/ergon/dope/buildTest/QueryBuilderTest.kt # crystal-map-connector/src/test/kotlin/ch/ergon/dope/extensions/clause/SelectClauseTest.kt
as described in DOPE-285, I know that currently
Fieldtype expression can be used in with clauses in dope, even tho thats incorrect syntax in couchbase