Select a column with table name? #736
Unanswered
orangesoup
asked this question in
Q&A
Replies: 1 comment
-
You'd want to pass in a tuple. So something like:
|
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
-
Hey! I'm coming from the Go world and been using https://github.com/Masterminds/squirrel there.
I could do something like this there:
How can I do something similar here?
When I do
the generated SQL is
'table.created_at'
(with `, markdown things) which is obviously not going to work.Also, since I'm only using a query builder part of sea-query, is there a way to use simple strings, instead of using Alias::new("...") everywhere?
Cheers!
Beta Was this translation helpful? Give feedback.
All reactions