Dynamic where query
With a relational query, is there a way to change the
where
query based on user input?
In Knex.js, we could do something like this:
3 Replies
Perhaps map the query params to a variable, then implement the logic, adding to the params object, then call the query with the params variable name
psuedo code
just do something like this idk