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
WithQuery is currently a separate entity from SelectStatement which is unfortunate, because it restricts where you can use it, i.e. I'd like to use a WithQuery as a FROM with from_subquery in another query but I don't believe I can, because only SelectStatements are accepted.
Motivation
WithQuery is currently a separate entity from SelectStatement which is unfortunate, because it restricts where you can use it, i.e. I'd like to use a WithQuery as a FROM with
from_subquery
in another query but I don't believe I can, because only SelectStatements are accepted.sea-query/src/query/select.rs
Line 1024 in 53fd4e9
Proposed Solutions
Move
with_clause
intoSelectStatement
/UpdateStatement
/DeleteStatement
/InsertStatement
instead of having a separate code path for it.Additional Information
The text was updated successfully, but these errors were encountered: