mirror of
https://github.com/immich-app/drift.git
synced 2026-09-30 21:27:45 +08:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
@@ -291,6 +291,8 @@ or companion and immediately get the row it inserts.
|
|||||||
The returned row contains all the default values and incrementing ids that were
|
The returned row contains all the default values and incrementing ids that were
|
||||||
generated.
|
generated.
|
||||||
|
|
||||||
|
__Note:__ This uses the `RETURNING` syntax added in sqlite3 version 3.35, which is not available on most operating systems by default. When using this method, make sure that you have a recent sqlite3 version available. This is the case with `sqlite3_flutter_libs`.
|
||||||
|
|
||||||
For instance, consider this snippet using the tables from the [getting started guide]({{ 'index.md' | pageUrl }}):
|
For instance, consider this snippet using the tables from the [getting started guide]({{ 'index.md' | pageUrl }}):
|
||||||
|
|
||||||
```dart
|
```dart
|
||||||
|
|||||||
Reference in New Issue
Block a user