Skip to content

Unclear what the exclusive flag in Batch.commit() does #732

Answered by alextekartik
cachapa asked this question in Q&A
Discussion options

You must be logged in to vote

You're pointing to the document of another package (sqflitezjl?) instead of sqflite:
https://pub.dev/documentation/sqflite_common/latest/sqlite_api/Batch/commit.html

Exclusive is a reserved SQLite keyword. See here for explanation of its meaning. https://www.sqlite.org/lang_transaction.html
In a single process application, although I don't have a full understanding, it should not be needed most of the time.(personnaly I don't use it)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@cachapa
Comment options

@alextekartik
Comment options

@cachapa
Comment options

Answer selected by cachapa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants