The Wayback Machine - https://web.archive.org/web/20200612070954/https://github.com/fsprojects/SQLProvider/issues/633
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

Deleted row count for Seq.``delete all items from single table`` #633

Open
thosomers opened this issue Aug 30, 2019 · 1 comment
Open

Deleted row count for Seq.``delete all items from single table`` #633

thosomers opened this issue Aug 30, 2019 · 1 comment

Comments

@thosomers
Copy link

@thosomers thosomers commented Aug 30, 2019

Description

executeDeleteQueryAsync in SqlRuntime.Linq.fs doesn't return deleted row count.

Repro steps

Seq.delete all items from single table always returns 0.

Expected behavior

Seq.delete all items from single table should return the number of rows deleted.

Known workarounds

Use cmd.ExecuteNonQueryAsync instead of cmd.ExecuteScalarAsync

@Thorium
Copy link
Member

@Thorium Thorium commented Aug 31, 2019

Sounds like a fair request, and doable. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.