Commit Graph

2392 Commits

Author SHA1 Message Date
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
Simon Binder 0869bdc620
Remove empty file 2022-02-17 16:28:34 +01:00
Simon Binder 83deb5bb4d
Include views in generated accessors 2022-02-17 16:23:02 +01:00
Simon Binder 7073b3f04d
Maybe this yaml works 2022-02-14 23:02:21 +01:00
Simon Binder d1d7900cd8
Fix docs build script 2022-02-14 22:52:37 +01:00
Simon Binder de6a083c69
Fix typo in routeWithPoints example 2022-02-14 22:17:03 +01:00
Simon Binder 101db403c6
Merge pull request #1682 from westito/type-converter-workaround
TypeConverter not existent type argument class workaround
2022-02-14 22:15:57 +01:00
Simon Binder 48041512cb
Use sqlparser for drift snippets 2022-02-14 22:13:00 +01:00
Simon Binder 79d88cee6d
Merge pull request #1680 from westito/view_dsl_parse_fix
Add error check for ViewDSL as() declaration
2022-02-14 20:00:42 +01:00
westito d6692b13c2 Fix dynamic type check 2022-02-14 19:59:46 +01:00
westito 062b00d635 TypeConverter not existent type argument class workaround
(cherry picked from commit fe193e037bc51dc34d65507c8df6fba66759d54e)
2022-02-14 19:29:24 +01:00
westito 3872f14d2f Fix error message in parent class parse 2022-02-14 14:24:22 +01:00
westito bfc4921809 Allow dynamic as type parameter 2022-02-14 14:20:21 +01:00
westito affac25a77 Add view dsl as() expression parse error 2022-02-14 10:15:31 +01:00
westito 46ca0462bf Add type checks to parent class option 2022-02-14 10:03:46 +01:00