Comments (3)
I will take a look. As the error said java.lang.IllegalArgumentException: the bind value at index 1 is null
, it seems that you have a null value in your map. SQLite does not support that (yes it is a pain) so you have to explicitely use the new keyword in your update raw query. I will try to reproduce the issue and see whether I can find a solution tomorrow
from sqflite.
Well looking more at your issue, it seems as reported that rezept.id is null....you cannot bind a null value in a query (and anywhere). For a where clause you need to use 'id IS NULL". However in your case should handle the case where the id is null (you need to get the id from somewhere first)
from sqflite.
Thanks for the solution, that worked out for me.
from sqflite.
Related Issues (20)
- power function not supported HOT 1
- Inserting a row after clearing a table is not working HOT 2
- Can you tell me the general area on how to create a stream/watch a table? HOT 3
- Possibility to create functions? HOT 1
- Not an error as an error HOT 2
- Android Blob Lookup Fixed? HOT 1
- java.lang.IllegalArgumentException: Invalid token limit HOT 3
- sqlflite web db not persistent HOT 2
- Cursor closed despite moveNext() returning true HOT 1
- Macos - SqfliteFfiException(sqlite_error: 14, , open_failed: SqliteException(14): while opening the database, bad parameter or other API misuse, bad parameter or other API misuse (code 21)}) HOT 2
- [typo] empy found HOT 1
- Problems updating data from an external database in SQLITE in Flutter. HOT 4
- Data does not update when I switch between databases HOT 1
- Accessing database from a background Isolate & main Isolate HOT 1
- Android API 35 MissingPluginException HOT 3
- Execute initialization operation with script (available on Windows and web platforms, not available on Android) HOT 1
- DatabaseException(database_closed 1) HOT 5
- LIKE Query with Non-ASCII Character HOT 3
- [iOS] attempt to write a readonly database HOT 3
- Invalid argument null with type Null HOT 4
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 sqflite.