Commit Graph

1084 Commits

Author SHA1 Message Date
Simon Binder 4140090270
Document upserts 2020-04-25 12:23:37 +02:00
Simon Binder 721d25ff3c
Make insertOnConflictUpdate return a Future<int> 2020-04-24 22:34:09 +02:00
Simon Binder 821d1620cd
Run batch statements in the right order 2020-04-24 20:09:46 +02:00
Simon Binder 66a68dd2c8
Typos and small wording improvement in moor file docs 2020-04-24 17:47:57 +02:00
Simon Binder 9300010890
Only send primitive objects over isolates (#399) 2020-04-23 21:03:50 +02:00
Simon Binder 1fc38f8434
Expose underlying SendPort for moor isolate 2020-04-23 19:15:44 +02:00
Simon Binder 1da09e7357
Add small integration test for generated upserts 2020-04-20 22:03:45 +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 c3b0c95389
Support upserts for batches (#507) 2020-04-19 20:47:03 +02:00
Simon Binder 453ccbefdc
Support double-equals in types2 2020-04-19 13:43:42 +02:00
Simon Binder 0220d01a54
Fix mapping of nulls in IntType 2020-04-18 17:35:26 +02:00
Simon Binder 4190c807c9
Fix analysis warnings 2020-04-17 22:35:27 +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 a7ac6db55d
Support + and - operators on DateTime 2020-04-17 21:29:12 +02:00
Simon Binder 84bac1bf1d
Initial support for sql expressions in companions 2020-04-17 20:48:22 +02:00
Simon Binder 62a363105a
Refactor Insertables to avoid covariant parameters 2020-04-17 18:02:05 +02:00
Simon Binder a553dcf10e
Fix query streams with rxdart 0.24 (#500) 2020-04-17 12:16:28 +02:00
Simon Binder 17cec08b95
Document how to use custom primary keys on Dart tables 2020-04-17 11:54:41 +02:00
Simon Binder 6b2bd27d4d
Parse and analyze VALUES clause for selects 2020-04-16 22:41:21 +02:00
Simon Binder c007e1f9ac
Sort token types and keywords 2020-04-16 21:14:51 +02:00
Simon Binder 9a78604d98
Fix issues with new inference, enable it by default 2020-04-16 19:07:30 +02:00
Simon Binder 49f7dc059f
Test to ensure failing migration throws 2020-04-16 17:32:20 +02:00
Simon Binder 424c2febda
Support async batch callbacks (#483) 2020-04-10 12:42:09 +02:00
Simon Binder 72e65611a7
Respect transitive imports when resolving moor converters
Might fix an error discovered in #482
2020-04-09 22:28:40 +02:00
Simon Binder af5333db3c
Support compound select statements in from 2020-04-07 15:37:35 +02:00
Simon Binder 516d2143f7
analyzeAngularTemplates is no longer needed 2020-04-06 19:24:49 +02:00
Simon Binder 606d11d589
Merge pull request #469 from marcgraub/develop
Basic support for Web Workers
2020-04-06 11:21:19 +02:00
Marc Grau Benaiges c59b96c9bf Added some documentation and fixes code format 2020-04-05 23:12:40 +02:00
Simon Binder 402b2f0d45
Merge pull request #474 from North101/develop
Fix weird behaviour with nested results
2020-04-05 14:21:42 +02:00
Simon Binder e90607c6da
Fix reading primaryKeys for tables in moor repo 2020-04-05 14:17:25 +02:00
Alexander Wilde 6eeaa88f67 Fix weird behaviour with nested results 2020-04-05 13:15:34 +01:00
Simon Binder 8bddb7c2c5
Skip null columns in Dart parser (#471) 2020-04-05 13:50:44 +02:00
Simon Binder 2c511d3ad4
Reformat sql_query class, reword docs 2020-04-04 13:07:17 +02:00
Simon Binder edc9029ece
Test linter behavior on nested columns 2020-04-04 13:01:40 +02:00
Simon Binder ba28211e21
Document nested results in moor files 2020-04-04 12:22:19 +02:00
Simon Binder 4d56b861e4
Merge branch 'develop' of gh:simolus3/moor into develop 2020-04-04 11:51:45 +02:00
Simon Binder 0b7b1b7146
Fix Dart parser when primaryKey is not overridden 2020-04-04 11:48:00 +02:00
Simon Binder 70c476425e
Merge pull request #470 from North101/develop
Fix generating class for results with nested results.
2020-04-04 11:41:43 +02:00
Alexander Wilde c3f5ba9aa0 Fix generating class for results with nested results. 2020-04-04 01:04:37 +01:00
Simon Binder c692c56d43
Support primaryKey override with inheritance (#467) 2020-04-03 22:02:01 +02:00
Simon Binder eac461486e
Tests for nested results 2020-04-03 21:41:16 +02:00
Simon Binder 1340e9291c
Generate code for nested results (#288) 2020-04-03 21:31:27 +02:00
Simon Binder dcb4c4b972
Resolve nested result sets in generator 2020-04-03 20:30:41 +02:00
Simon Binder d5ad3c6d34
Parse nested star columns 2020-04-03 18:37:33 +02:00
Marc Grau Benaiges e0c3f4b647 Basic support for Web Workers (#468) 2020-04-03 12:24:26 +02:00
Simon Binder aed9b40c30
Improve table updates issued by batches
Fixes #460
2020-03-29 21:57:55 +02:00
Simon Binder 5ec5a4933c
Fix parsing Uint8Lists from json (#459) 2020-03-27 11:52:00 +01:00
Simon Binder 2b9a85714f
Improve nullability detection in new type inference 2020-03-24 19:33:57 +01:00