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
Hello there.
Library is maintained but mostly for base dialect and postgresql.
It turned out that it's not just that simple to support a bunch of dialects (especially when you aren't using most them at all).
I don't think that ms sql dialect will be merged, sorry for that.
I just can't figure out how
returning
should work.Builder config:
{ dialect: 'mssql', separatedValues: false }
Query:
Yeilds:
insert into "Messages" ("Name", "Text") values ('Blah', 'Some text') returning "ID";
Error:
RequestError: Incorrect syntax near 'returning'.
Obviously this will fail, as is not valid MSSQL syntax.
Am just trying to output the inserted row's primary key. It doesn't seem like valid
The text was updated successfully, but these errors were encountered: