-
Notifications
You must be signed in to change notification settings - Fork 929
Dynamic where clause
#975
-
Guys!
The question is:
How could I create dynamic WHERE clause?
Database contains chunks of the query conditions (to create another query) described below:
"IN ('active', 'inactive')"
"LIKE 'Some conditi%'"
"'Red' AND 'Blue' AND 'Green' "
and I need to create such WHERE clauses dynamically... (
Probably it's time to think about some additional mysterious interface in sqlc
to make it possible execute queries like sqlx is doing right now?
Any help would be appreciated.
Thanx!
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1 -
👀 1
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment