sea-query
sea-query copied to clipboard
Add pseudo tables
Close #842
Also, your current approach doesn't support asterisk, like
NEW.*(literally*in the query)
This means the glob pattern, not the SQL asterisk.
I understand. I'm pointing out that the SQL asterisk is also valid with these tables. I'd like to find a clean way to support it right away
I think we could add an enum of pseudo tables/columns and regular idens. Basically it’s just raw idens vs regular ones. One hacky approach is to check in prepare_iden if the iden is one of the specific keywords.