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

Using Partials #54

Closed
EvgenyAfanasev opened this issue Oct 20, 2024 · 2 comments
Closed

Using Partials #54

EvgenyAfanasev opened this issue Oct 20, 2024 · 2 comments

Comments

@EvgenyAfanasev
Copy link
Contributor

Can I split my sql fragments on multiple partials ?

for example:

val partial = sql"code = $code AND color = $color"
val fragment = sql"SELECT * from example WHERE $partial"
@EvgenyAfanasev
Copy link
Contributor Author

Sorry for duplicate #34

@EvgenyAfanasev EvgenyAfanasev closed this as not planned Won't fix, can't repro, duplicate, stale Oct 21, 2024
@AugustNagro
Copy link
Owner

No problem! We should hopefully land this feature in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants