Commit Graph

31 Commits

Author SHA1 Message Date
Simon Binder 896d0f90c7
Migrate more tests to null safety 2021-01-20 12:30:59 +01:00
Simon Binder 01258d25ab
Fix nnbd code emitted by the generator 2020-11-19 14:06:51 +01:00
Simon Binder aec69a357a
Migrate to generated mockito 2020-11-18 22:53:27 +01:00
Simon Binder 13056b0cf6
Migrate core libraries 2020-11-18 17:07:05 +01:00
Simon Binder 5ebc7a9040
Escape keywords with double instead of backticks 2020-11-11 18:22:59 +01:00
Simon Binder 0f2ff8c97a
Implicitly create type converters for enums, Dart api (#478) 2020-05-12 21:47:11 +02:00
Simon Binder 721d25ff3c
Make insertOnConflictUpdate return a Future<int> 2020-04-24 22:34:09 +02:00
Simon Binder d2e455d66b
Write conflict target when using upserts 2020-04-20 21:58:37 +02:00
Simon Binder 398577ceab
Test for integrity with upserts 2020-04-19 21:16:01 +02:00
Simon Binder 86295536c7
Add insertOnConflictUpdate shorthand 2020-04-17 22:32:53 +02:00
Simon Binder ca0fe1ef55
Support upsert clauses from Dart DSL (#367) 2020-04-17 22:14:27 +02:00
Simon Binder 84bac1bf1d
Initial support for sql expressions in companions 2020-04-17 20:48:22 +02:00
Simon Binder 0b0d5792fd
Allow more specific updates in stream queries 2020-03-04 20:28:31 +01:00
Simon Binder 8c4c6cd8cd
Remove insertAll and orReplace 2020-02-17 18:11:01 +01:00
Simon Binder 064a57d381
Fix clientDefaults logic, some more tests for core pkg 2020-01-21 11:07:05 +01:00
Simon Binder 3c74a20f56
Enable more recent lints and enforce them 2019-12-04 21:45:09 +01:00
Simon Binder 092f64d7cf
Escape column names during insert 2019-12-02 21:40:41 +01:00
Simon Binder 98470109cf
Remove built_value(_generator) dependency from generator 2019-11-04 17:09:21 +01:00
Simon Binder 5cc1f85441
Inject mock streams via .connect constructor 2019-10-30 19:25:26 +01:00
Simon Binder ccf208b329
Support additional insert modes 2019-10-21 17:14:58 +02:00
Simon Binder 4137f6cffa
Write unit tests for DelegateDatabase 2019-09-29 16:21:09 +02:00
Simon Binder b684a7be69
Replace imports of test_api with test 2019-09-26 22:52:20 +02:00
Simon Binder c2bff3ae42
API and parser for custom types 2019-07-18 12:02:16 +02:00
Simon Binder b9e9135ac3
Write "DEFAULT VALUES" in insert when appropriate 2019-07-02 22:42:49 +02:00
Simon Binder 62c5106e7d
Migrate tests to companion 2019-06-21 20:29:42 +02:00
Simon Binder 9241bbccc1
Better integration of floating-point values 2019-06-08 15:04:49 +02:00
Simon Binder 51ae079c33
Deprecate old insertOrReplace method in favor of parameter 2019-04-23 14:04:45 +02:00
Simon Binder 8bed506e0d
Batched insert statements
Closes #15
2019-04-19 22:45:38 +02:00
Simon Binder d284aca4f6
Improve examples app, fix many issues with joins 2019-04-01 12:27:13 +02:00
Simon Binder aa6582ae79
Always return the same stream for equal queries 2019-03-20 12:28:18 +01:00
Simon Binder e7ece27528
Implement insertOrReplace method for insert statements 2019-03-15 12:56:22 +01:00