Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSSQL: add insertId to InsertResult #918

Closed
drew-marsh opened this issue Mar 22, 2024 · 4 comments
Closed

MSSQL: add insertId to InsertResult #918

drew-marsh opened this issue Mar 22, 2024 · 4 comments
Labels
enhancement New feature or request mssql Related to MS SQL Server (MSSQL) wontfix This will not be worked on

Comments

@drew-marsh
Copy link

This can be achieved by running:
select SCOPE_IDENTITY()
after an insert.

Loving the MSSQL support and all the new related features!

@igalklebanov igalklebanov added wontfix This will not be worked on mssql Related to MS SQL Server (MSSQL) enhancement New feature or request labels Mar 23, 2024
@igalklebanov
Copy link
Member

Hey 👋

Not gonna happen. Kysely only executes queries you tell it to explicitly.

@igalklebanov igalklebanov closed this as not planned Won't fix, can't repro, duplicate, stale Mar 23, 2024
@igalklebanov
Copy link
Member

related to #828.

@koskimas
Copy link
Member

@igalklebanov I just reviewed the output PR. Let's merge it and release 0.27.4 soon.

@drew-marsh
Copy link
Author

Hey 👋

Not gonna happen. Kysely only executes queries you tell it to explicitly.

Gotcha. output support will cover this nicely, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request mssql Related to MS SQL Server (MSSQL) wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants