SQLProvider icon indicating copy to clipboard operation
SQLProvider copied to clipboard

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

Open thosomers opened this issue 6 years ago • 1 comments
trafficstars

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

thosomers avatar Aug 30 '19 07:08 thosomers

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

Thorium avatar Aug 31 '19 20:08 Thorium