-
since sqlite supports this, i was surprised to find i couldn't do this: try Episode
.insert { episodes }
.returning(\.self)
.order { $0.pubDate.desc() } // 🚨 error: value of type 'Insert<Episode, Episode>' has no member 'order'
.fetchAll(db) am i missing something? or just not implemented yet? would you be open to a PR? |
Beta Was this translation helpful? Give feedback.
Answered by
mbrandonw
Sep 11, 2025
Replies: 1 comment 1 reply
-
Hi @jaredh159, are you sure SQLite supports this? I get an error:
And from the flow chart of ![]() I think rows are just returned in an unspecified order. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jaredh159
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @jaredh159, are you sure SQLite supports this? I get an error:
And from the flow chart of
RETURNING
it does not seem like orders are possible:I think rows are just returned in an unspecified order.