fsprojects / fsprojects/FSharp.Data.SqlClient
What int is returned when Executing a DELETE or UPDATE?
Open
Nobody has claimed this yet.
question
- Dominant language
- F#
- Stars
- 206
- Forks
- 66
- PR merge metrics
- No merged PRs in 30d
Description
let x =
use cmd = new SqlCommandProvider<"DELETE FROM...", designTimeConn>(conn)
cmd.Execute()
x is an int. What does it represent? Number of rows affected? A status code?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the SqlCommandProvider Execute entry point shown in the issue and inspect the repository's existing API documentation for command results. Confirm what the returned int represents for DELETE and UPDATE, then document that behavior where the provider's Execute result is described.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fsharp, sql
- Domain
- databases
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100