Replies: 2 comments
-
I did something like that:
columnFilters is a tuple composed like this: {id: 'NameOfMyField', value: 'filter value'} |
Beta Was this translation helpful? Give feedback.
0 replies
-
Here's another way by using sql`
DELETE FROM ${sql.identifier(getTableName(yourTableName))}
...
` |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to do something like:
like(table.column, 'somestring')
Basically I am trying to dynamically build queries. But I want to be able to feed the table and column dynamically into the method I have.
But I cannot seem to find a way to properly reference a table and column dynamically. Trying to do something like a string literal obviously doesn't work. Is this possible? Would appreciate any help. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions