Commit Graph

2456 Commits

Author SHA1 Message Date
Simon Binder a60a795c66
Auto-migrate usages of `moor_flutter` 2022-03-14 21:04:04 +01:00
Simon Binder bc5295492d
Add `drift_sqflite` to replace `moor_flutter` 2022-03-14 20:27:19 +01:00
Simon Binder b0ab9ba777
Override `toString()` in `DriftRemoteException` 2022-03-14 15:35:35 +01:00
Simon Binder c6edcdf3e8
Prepare drift 1.5.0 release 2022-03-13 15:54:45 +01:00
Simon Binder da212944ff
Replace old website and repository links 2022-03-13 15:52:15 +01:00
Simon Binder 75c0423b42
More moor -> drift renaming in `sqlparser` 2022-03-13 15:46:24 +01:00
westito 05abe4de4c
Add cascaded expression support to DSL view parser (#1751)
* Add cascaded expression support to DSL view parser

* Fix view sample query
2022-03-13 00:47:02 +01:00
YeungKC 7199e6bca6
MultiExecutor support multi read executor (#1749)
Support multipe reading executor in a load-balancing `MultiExceutor`.
2022-03-12 15:08:57 +01:00
Simon Binder 510aff3a60
Fix memory leak with new error handling 2022-03-11 17:02:47 +01:00
Simon Binder 7b5c335937
Better stack traces across drift remotes (#1750) 2022-03-11 16:54:43 +01:00
Simon Binder 64c50837f9
Note that native libs don't work in simple tests 2022-03-10 20:08:45 +01:00
YeungKC 79aedea60e
Determine schema version. (#1743)
Avoid an unnecessary write to the database when no migration is needed.
2022-03-10 14:36:02 +01:00
Simon Binder b25921a362
Write column getter into schema file (#1739) 2022-03-09 23:02:52 +01:00
Simon Binder 5def49b1fa
Fix doc references in sqlparser 2022-03-08 15:57:37 +01:00
Simon Binder 44d0daf753
Remove unused coverage tooling 2022-03-08 10:59:48 +01:00
Simon Binder c9e22bf8d2
Parse non-window aggregate expressions 2022-03-08 10:58:40 +01:00
Simon Binder 56f048b42f
Add test for self-references in Dart tables 2022-03-08 09:54:50 +01:00
Simon Binder 8bccc14296
Fix return type of `upper` and `lower` 2022-03-07 18:41:06 +01:00
Simon Binder 5df272e655
Clarify docs on `recreateAllViews` 2022-03-07 10:36:27 +01:00
Simon Binder 4ddbed5cca
Don't write variables in `CREATE VIEW` 2022-03-05 21:56:51 +01:00
Simon Binder 3c50437821
Merge pull request #1726 from creativecreatorormaybenot/patch-1
Fix table in README
2022-03-04 17:22:09 +01:00
creativecreatorormaybenot 9a788255fa
Fix table in README 2022-03-04 17:17:42 +01:00
Simon Binder c98511693d
Remove analyzer override in built value test 2022-03-04 16:53:47 +01:00
Simon Binder 35efc68e42
Web: Re-run setup whenever database is re-opened 2022-03-03 14:18:44 +01:00
Simon Binder 61dc1f17b8
Name schema exports automatically (#1721) 2022-03-02 17:25:30 +01:00
Simon Binder 9c80fb047b
Fix nullability propagation for type analysis 2022-03-02 16:06:30 +01:00
Simon Binder a463476c44
docs: Fix generating build script 2022-03-01 22:08:40 +01:00
Simon Binder db954b08cd
docs: Use highlight files in more places 2022-03-01 21:37:38 +01:00
Simon Binder 137a7b00a0
Merge branch 'documentation-snippets' into develop 2022-03-01 20:43:20 +01:00
Simon Binder db1a4e2827
Fix `validateDatabaseSchema` 2022-03-01 20:41:00 +01:00
Simon Binder 7e798572a0
Fix zoned executors messing with other databases 2022-03-01 20:40:10 +01:00
Simon Binder cb46e2c07e
API to validate schema at runtime (#1718) 2022-03-01 18:10:19 +01:00
Simon Binder 4099b77a56
Delete unused tooling file 2022-02-28 13:18:36 +01:00
Simon Binder e38a6b9059
Add setup parameter for web databases 2022-02-27 19:56:54 +01:00
Simon Binder f4eec69810
Fix reading schema files 2022-02-26 22:28:04 +01:00
Simon Binder 9ec7465fca
Migrate rest of `drift_dev` to null safety 2022-02-26 22:20:17 +01:00
Simon Binder 93d328f056
Rename `moor` to `drift` in `sqlparser` 2022-02-26 21:38:28 +01:00
Simon Binder ce31515c07
Fix type issue for `LIST` queries 2022-02-25 21:25:06 +01:00
Simon Binder 4755d0d04e
Add docs on how to evaluate expressions 2022-02-25 12:45:00 +01:00
Simon Binder ba8d719f2c
Download correct sqlite3 sources 2022-02-23 22:12:34 +01:00
Simon Binder 6bb870458f
Analysis for sqlite 3.38 2022-02-23 22:06:42 +01:00
Simon Binder f5c9670729
Prepare 0.20.1 release of `sqlparser` 2022-02-21 20:50:50 +01:00
Simon Binder 536d510825
Update many-to-many example 2022-02-21 20:41:47 +01:00
Simon Binder 518fdce2e9
Add parentheses around conflict target (#1704) 2022-02-21 18:43:48 +01:00
Simon Binder 1854f8b522
Merge pull request #1678 from westito/custom_parent_class
Add custom parent class option to generated data classes
2022-02-18 15:30:44 +01:00
Simon Binder 6184892217
Add more docs, changelog 2022-02-18 15:09:51 +01:00
westito 9bcac38e98 Add tests for custom data class parent 2022-02-18 10:50:03 +01:00
westito e35a4028b5 Merge branch 'custom_parent_class' of github.com:westito/drift into custom_parent_class 2022-02-18 10:12:43 +01:00
westito e56260740d
Update drift_dev/lib/src/analyzer/data_class.dart
Co-authored-by: Simon Binder <oss@simonbinder.eu>
2022-02-18 10:12:35 +01:00
westito d846655e1d Merge remote-tracking branch 'simolus3/develop' into custom_parent_class 2022-02-18 10:11:59 +01:00