delete update insert return types?
See original GitHub issueHi, Im failing to find how to get the return types of the mutator functions. Generated functions always return Unit, and looking inside, driver.execute
returns Unit
Is this possible?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top Results From Across the Web
Return type for update, insert and/or delete #1482
To look up the number of rows affected by an update or delete: SELECT changes();. You can put these queries in ...
Read more >SQL INSERT, SQL UPDATE, SQL DELETE – Oh My!
INSERT , UPDATE , and DELETE , as well as SELECT and MERGE, are known as Data Manipulation Language (DML) statements, which let...
Read more >4. Inserting, Updating, Deleting - SQL Cookbook [Book]
Use a join between NEW_SAL and EMP to find and return the new COMM values to the UPDATE statement. It is quite common...
Read more >what do @Insert, @Update, @Delete, or @Query do?
Return types. @Insert can return either nothing or a Long that represents the row id of where the item was inserted or -1...
Read more >SQLite INSERT, UPDATE, DELETE Query with Example
The data modification clauses in SQLite are INSERT, UPDATE, and DELETE statements. It is used for inserting new rows, updating existing ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
yes, so it would look something like
yea its normal for all the jdbc drivers so i think android adopted it. It’s non-default behavior for for at least some SQL engines and they end up doing the
select changes()
every time you do an update/delete. At least right now I’d rather have every query be explicit, and if something nicer makes more sense we can change later.