You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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