Commit Graph

2738 Commits

Author SHA1 Message Date
Simon Binder 59d347adbe
Fix spellfix1 module with new analyzer 2022-11-22 20:06:17 +01:00
Simon Binder fde7adde48
Support triggers and indices in modular generation 2022-11-22 20:06:16 +01:00
Simon Binder df76457819
Merge pull request #2161 from North101/develop
Remove unnecessary where clause for batch.deleteAll
2022-11-21 23:00:00 +01:00
Alexander Wilde d165ee1bd8 Remove unnecessary where for batch.deleteAll 2022-11-21 13:39:53 +00:00
Simon Binder 6e16a8b8b6
Merge pull request #2160 from North101/develop
Add batch.deleteAll
2022-11-21 11:52:36 +01:00
Alexander Wilde 5bb4d043a5 Add tests for deleteAll 2022-11-21 00:03:45 +00:00
Alexander Wilde bfe2226394 Add batch.deleteAll 2022-11-20 23:47:31 +00:00
Simon Binder fc539c0b63
Ignore exceptions from database tracker (#2159) 2022-11-20 18:40:34 +01:00
Simon Binder ed969635b7
Re-run generator in `drift/` 2022-11-20 17:36:20 +01:00
Simon Binder f4e45584ec
Begin optional modular code generation 2022-11-20 17:28:27 +01:00
Simon Binder f41cff5fc6
Fix stream queries in `DelayedStreamQueryStore` 2022-11-19 18:40:36 +01:00
Simon Binder 72a85b799c
Fix tests with new generator 2022-11-19 16:24:07 +01:00
Simon Binder c77fc3612f
Run dart format in drift_dev 2022-11-18 17:01:21 +01:00
Simon Binder 1ed459c013
Fix wrong table reference in docs 2022-11-18 17:01:00 +01:00
Simon Binder 6512dc1cfc
Merge remote-tracking branch 'origin/develop' into modular-generation 2022-11-18 16:56:55 +01:00
Simon Binder 596a35b58e
Document basic analysis concept 2022-11-18 16:33:19 +01:00
Simon Binder e1ec5faa93
Fix analysis warnings in new analyzer 2022-11-18 12:19:03 +01:00
Simon Binder 564b4c887f
Migrate remaining tests 2022-11-18 12:02:38 +01:00
Simon Binder ec311aea57
Migrate remaining analyzer tests 2022-11-18 10:46:00 +01:00
Simon Binder f6830bcd68
Use lock when a statement transaction is active 2022-11-16 12:45:44 +01:00
Simon Binder b2bbcfae8a
Add `shutdownOnClose` to `connect()`
When only a single client connects to a drift server, the whole server
can be disposed when that client disconnects. This makes it easier to
clean up resources in the common case of having one client.

Closes #2157
2022-11-15 11:00:52 +01:00
Simon Binder b7690e84d9
Fix aliases for views 2022-11-14 22:36:51 +01:00
Simon Binder 873cc9a7a9
Migrate service tests to new analyzer 2022-11-13 17:41:09 +01:00
Simon Binder 75fe463a9f
Merge pull request #2146 from JosiahMendes/docs/migration-typo
Fix runtime migration verification typo
2022-11-13 14:25:33 +01:00
Josiah Mendes 9c72d858ae
Fix runtime migration verification typo 2022-11-12 23:48:16 +08:00
Simon Binder ce0dffb362
Migrate entity reference sorter test 2022-11-11 18:17:16 +01:00
Simon Binder c69d1a6628
Delete old analyzer and model 2022-11-11 18:02:30 +01:00
Simon Binder ea6a8a2217
Re-generate migration tests 2022-11-11 17:50:21 +01:00
Simon Binder 360ee348a2
Fix compilation errors in CLI 2022-11-09 21:59:45 +01:00
Simon Binder dfa01c1332
Upgrading docs: Mention to re-generate schema files 2022-11-09 12:45:41 +01:00
Simon Binder 22d30bd149
Merge pull request #2116 from abitofevrything/postgres-types
Use native postgres boolean type instead of integers
2022-11-09 00:48:36 +01:00
Simon Binder fe1af89840
Fix drift tests 2022-11-08 23:35:57 +01:00
Simon Binder eedfd96694
Merge branch 'develop' into postgres-types 2022-11-08 23:17:41 +01:00
Simon Binder ae87bb7373
Fix old conversion snippet on website 2022-11-07 17:39:00 +01:00
Simon Binder 0de8e9fed3
Fix snippet test 2022-11-07 16:18:17 +01:00
Simon Binder e63f089b46
Fix drift_dev test 2022-11-07 16:06:09 +01:00
Simon Binder d491db8599
Move dialect to SqlTypes constructor, re-generate 2022-11-07 15:53:16 +01:00
Abitofevrything 54b58948d3 Run melos run build 2022-11-05 20:35:24 +01:00
Abitofevrything 658bd5d646 Update test case 2022-11-05 20:35:02 +01:00
Abitofevrything cb1389f272 Extract generated code to method 2022-11-05 20:34:55 +01:00
Simon Binder 3b12faaa46
Start migrating schema files to new analyzer 2022-11-05 19:44:43 +01:00
Simon Binder c5a800d4c4
Migrate simple CLI tools to new analyzer 2022-11-05 18:32:13 +01:00
Simon Binder 0f06640dde
Merge pull request #2121 from North101/develop
Add isInValues and isNotInValues
2022-11-05 15:19:41 +01:00
Simon Binder a0aa437b7c
Merge branch 'develop' into North101/develop 2022-11-05 15:12:10 +01:00
Simon Binder b0ee5eb06e
Fix other test, add changelog 2022-11-05 15:11:32 +01:00
Simon Binder d990787451
Remove setup test 2022-11-05 15:01:25 +01:00
Simon Binder f09322aeb5
Add insertAll method 2022-11-04 22:08:45 +01:00
Alexander Wilde 58514da1f6 Format files 2022-11-04 13:16:34 +00:00
Alexander Wilde 84371435fb Remove ignoreNulls 2022-11-04 13:15:06 +00:00
Alexander Wilde 84a22c620c Add tests for isInValues and isNotInValues 2022-11-04 13:04:31 +00:00