Hi,
I'm trying to figure out how to use raw to add text to the end of a query. Basically I'm trying to do something like this:
(select users (raw "WHERE id=1"))
which would output:
SELECT "users".* FROM "users" WHERE "users".id = 1
but I receive an error saying there are too many arguments being passed to raw.
I am aware of the where function, the above is merely an example. Also, I realize this can be accomplished with exec-raw, but would like to avoid that if possible.
Any help would be greatly appreciated!
Best,
Dan