Commit Graph

500 Commits

Author SHA1 Message Date
Simon Binder 639e99ba4a
Formatting 2021-10-05 20:14:16 +02:00
Ali 3f3236cf7b add doc to DoUpdate where 2021-10-05 19:47:17 +03:00
Ali 28d465f69c implements where for onConflict
add test for where for onConflict
2021-10-05 18:25:53 +03:00
Simon Binder 66046894d8
Move isolate implementation into lib/src 2021-09-30 17:11:14 +02:00
Simon Binder 9266fdffe2
Suport iterable in markTablesUpdated 2021-09-29 20:32:01 +02:00
Simon Binder a6917b32ad
Move remote implementation into lib/src/ 2021-09-29 20:31:23 +02:00
Simon Binder 90e179643c
Support excluded in upserts on the Dart API 2021-09-22 17:08:37 +02:00
Simon Binder 9fffebbae6
Support filters for all aggregate expressions 2021-09-16 21:23:07 +02:00
Simon Binder 24f6ec5c01
Stop using deprecated members in example 2021-09-10 11:51:04 +02:00
Simon Binder 40bc3a17bb
Organize imports 2021-09-10 11:43:21 +02:00
Simon Binder cc6d553fa6
Format with Dart 2.14 2021-09-09 17:07:41 +02:00
Simon Binder bcd8541a4b
Close isolate after shutdownAll 2021-08-10 16:52:18 +02:00
Simon Binder 02d949d5b9
Expand docs on VmDatabase 2021-08-07 11:25:51 +02:00
Simon Binder 2c6de938c4
Add support for rowid access in the Dart api 2021-08-06 16:48:58 +02:00
Simon Binder 8f40216528
Make debug prints configurable 2021-07-30 15:33:30 +02:00
Alexander Wilde 3d521dfbbe Prevent NullAwareTypeConverter dart value from being null 2021-07-29 16:09:58 +01:00
Simon Binder 7b86f69102
Expand docs on table info and stream updates 2021-07-26 20:33:57 +02:00
Simon Binder f23cf9f426
Avoid unecessary override 2021-07-22 12:49:23 +02:00
Simon Binder 6e192fbe72
Report errors on transaction misuses 2021-07-22 12:36:09 +02:00
Simon Binder 159656bc74
Make resolvedEngine "public" 2021-07-17 21:22:35 +02:00
Elvis Lee a8d16125fe Mark _ensureOpenCalled before migrations. 2021-07-17 14:19:09 +08:00
Peter Leibiger 0bc5f17ee1
Correctly override Object.== everywhere
Using dynamic results in invalid mocks being generated by mockito since `==(dynamic other)` can not be overridden by `==(Object other)`.
2021-07-13 15:29:04 +02:00
Simon Binder c40c588f7a
Fix enum converter not handling null properly 2021-07-12 14:59:08 +02:00
Simon Binder d3f757235f
Switch docs in NullAwareTypeConverter 2021-07-09 17:49:28 +02:00
Alexander Wilde 6cd943d3df Enforce nnbd for typeconverters 2021-07-08 23:16:59 +01:00
Simon Binder a1c9a5933d
Support multiple upsert clauses 2021-06-30 21:32:37 +02:00
Simon Binder dcb1c4776b
Merge pull request #1289 from jamie1192/feat/batch-typedef
Define batch callback as typedef (#1288)
2021-06-30 09:14:03 +02:00
jamie1192 1c45a6857c Prefer `FutureOr<void>` over dynamic (#1288) 2021-06-30 11:45:39 +10:00
Simon Binder f231a631a4
Introduce subclass for columns with type converter 2021-06-28 16:17:24 +02:00
jamie1192 519e8328c8 Define batch callback as typedef (#1288) 2021-06-26 23:26:11 +10:00
Simon Binder 1a105f5fcf
Support views in readsFrom 2021-06-20 21:28:14 +02:00
Simon Binder f3360d06a6
Use a single generated column implementation 2021-06-19 16:31:08 +02:00
Simon Binder 6988d79f09
Fix tests 2021-06-15 22:38:36 +02:00
Simon Binder 8c134138d2
Return proper values in tableUpdates 2021-06-13 21:34:39 +02:00
Simon Binder 1068c4934d
Don't schedule work before a database is opened 2021-06-08 21:25:22 +02:00
Simon Binder 45196d070e
Add closeUnderlyingOnClose argument to vm database 2021-06-08 17:23:18 +02:00
Simon Binder 4e6819aab9
Fix issues around closing databases (#1250) 2021-06-07 18:40:09 +02:00
Simon Binder 97c64b54b2
Initial runtime support for views 2021-06-01 22:05:28 +02:00
Simon Binder 0a27100b90
Fix lock not returning futures in right order 2021-05-28 21:59:47 +02:00
Simon Binder 3e0e7dae8b
Add errors to InvalidDataException 2021-05-26 19:51:27 +02:00
Peter Leibiger bc2aaee2f3
Fix insertReturning not updating streams
* test case not possible due to sqlite version
2021-05-25 12:23:23 +02:00
Simon Binder 09d1260357
Fix deserializing nullable types (#1211) 2021-05-22 16:52:51 +02:00
Simon Binder f726328f69
Fix encoding updates without kind over isolates 2021-05-21 22:24:00 +02:00
Simon Binder e5e9e1247c
Allow ofNullable with any type if value isn't null 2021-05-20 11:19:55 +02:00
Simon Binder 0f7929e8e7
Add Value.ofNullable() (#1209) 2021-05-20 11:15:28 +02:00
Simon Binder edf74cb860
Don't count columns with useColums: false (#1189) 2021-05-13 10:59:31 +02:00
Simon Binder 5f7c20d4eb
Allow named constructors in custom row classes 2021-05-09 12:42:02 +02:00
Simon Binder e05e8fe07e
Add min, max and avg for date times (#1182) 2021-05-07 13:46:13 +02:00
Simon Binder 258512e044
Support dart placeholders for inserts 2021-05-06 22:35:57 +02:00
Simon Binder 382ed71204
Add insertReturning 2021-05-06 18:19:01 +02:00