Comments (2)
The int returned by sqlite3_exec
is actually a result code. If you want the amount of affected rows, use sqlite3_changes
(or getUpdatedRows()
in Dart).
I'm not opposed to changing execute
for databases and prepared statements to return sqlite3_changes
after running. But they're separate in sqlite3, so I think it's not unreasonable to split them in Dart either... Is is so inconvenient to call getUpdatesRows
after execute
?
from sqlite3.dart.
no i can accept that
from sqlite3.dart.
Related Issues (20)
- sqlcipher_flutter_libs link error in Ubuntu 23.10 and 24.04 HOT 3
- iOS: Could not build Objective-C module 'SQLite3' when install drift HOT 6
- sqlcipher_flutter_libs adding libraries for other platforms in Android build HOT 3
- Target "sqlcipher_flutter_libs_plugin" links to target "Threads::Threads" but the target was not found in linux-arm64
- Migrate web implementation to `dart:js_interop`
- Building to windows with sqlcipher doesn't work in another pc
- SQLCipher does not work on Windows. HOT 1
- listening to database changes from a separate process HOT 1
- Invalid argument(s): Failed to load dynamic library 'sqlite3.dll': The specified module could not be found HOT 1
- upgrading existing database HOT 2
- Swift Compiler Error when project depend SQLite.swift and sqlite3_flutter_libs HOT 2
- Many warnings occur when building apps in macOS HOT 1
- NoSuchMethodError: method not found: 'instantiateStreaming' HOT 2
- Release a version that supports `package:js` v0.7.0 HOT 1
- 2.4.1 error when compiling for iOS HOT 4
- Support for libsql? (Turso DB) HOT 2
- Memory leak on execute for allocated Arguments HOT 3
- support `RETURNING row_id` for `INSERT`(in `CommonDatabase.execute` and `CommonPreparedStatement.execute`) HOT 3
- Please update SQL cipher to 4.5.7 HOT 1
- Differences between sqlite3_flutter_libs and sqlite3 releases HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sqlite3.dart.