Commit Graph

755 Commits

Author SHA1 Message Date
Simon Binder d2864d6859
Support reading MoorOptions in CLI analyzer 2019-12-16 21:50:21 +01:00
Simon Binder 587e8fd1a9
Don't crash when reading part of files 2019-12-16 19:34:26 +01:00
Simon Binder 76ac7c7ab3
Support batches in transactions (#271) 2019-12-16 15:50:12 +01:00
Simon Binder ffe4bb8c82
Don't crash when trying to resolve variables 2019-12-16 13:24:29 +01:00
Simon Binder ae91b5d526
Expose plugin debug server as cli command 2019-12-15 21:38:46 +01:00
Simon Binder 49a1e8253e
Initial, rough implementation of a standalone runner 2019-12-15 21:14:03 +01:00
Simon Binder 9f9361cfd7
Replace plugin backend with more general common backend 2019-12-15 11:29:50 +01:00
Simon Binder e4fed775de
Basic tests for the file tracker, even found a bug 2019-12-14 22:30:35 +01:00
Simon Binder ebd94cad82
Extract common moor drivers 2019-12-14 22:03:16 +01:00
Simon Binder c69b7cb283
Move builders and analyzer plugin into subfolder 2019-12-14 21:49:51 +01:00
Simon Binder 8661e0a28a
Refactoring on the model classes in moor_generator 2019-12-14 21:43:04 +01:00
Simon Binder 6b776d47d7
Documentation for the json1 and fts5 extensions 2019-12-14 12:39:39 +01:00
Simon Binder 0e2ad81ac1
Attempt to use Dart 2.7 in CI 2019-12-13 23:27:09 +01:00
Simon Binder 2d1d899c71
Use nullptr.cast() instead of nullptr
This can speed up performance when binding strings
2019-12-13 23:15:16 +01:00
Simon Binder 1672eacb69
Print Dart version on CI builds 2019-12-13 22:35:02 +01:00
Simon Binder f30f6f6b9b
Ignore warning for analyzer src import 2019-12-13 22:31:24 +01:00
Simon Binder c9f29fab5b
Support detailed analysis for fts5 functions 2019-12-13 22:30:36 +01:00
Simon Binder 94634bd48b
Support custom fts5 queries 2019-12-12 18:56:37 +01:00
Simon Binder da9ca61e0c
Don't remap tables from sql -> moor -> sql 2019-12-12 18:06:56 +01:00
Simon Binder 7ab71f7558
Adapt tests for new equals methods 2019-12-12 18:00:29 +01:00
Simon Binder a23ff772fa
Improve syntax highlighting in the sql IDE 2019-12-11 21:14:33 +01:00
Simon Binder 8ee3029ed0
Save database after opening (fixes #273) 2019-12-11 11:18:59 +01:00
Simon Binder bdea374fa2
Generator: Extract writer into a top-level library 2019-12-11 10:44:28 +01:00
Simon Binder 99cf31bb61
Don't attempt to type unresolved references 2019-12-11 10:12:30 +01:00
Simon Binder 2c97373bdd
Support implicit-dynamic: false
Closes #268
2019-12-10 20:38:08 +01:00
Simon Binder 74ebb8a9ab
Ability to create fts5 tables in moor files (#196) 2019-12-10 20:24:08 +01:00
Simon Binder e982593643
dsl: Throw an exception instead of returning null 2019-12-09 19:35:25 +01:00
Simon Binder 54f4fd73e8
Revert analyzer workaround, a fixed version is out 2019-12-09 12:16:18 +01:00
Simon Binder fb3eb4ee6b
Merge pull request #270 from Elvis5566/store_db_after_custom_statement
Fix table not found exception.
2019-12-07 21:18:07 +01:00
Simon Binder 2257561c65
Also apply analyzer workaround in the vm tests package 2019-12-07 19:03:26 +01:00
Simon Binder 67c3715768
Fix another test regarding Dart components in sql 2019-12-07 18:06:42 +01:00
Simon Binder 40eaf17a7d
Generator tests: Always provide task and file for a step 2019-12-07 17:53:53 +01:00
Simon Binder 4ee228d5a6
Write table name for columns in components (#269) 2019-12-07 13:38:33 +01:00
Simon Binder 013a28564b
Temporary fix for CI failures: Don't use latest analyzer 2019-12-07 13:13:50 +01:00
Simon Binder 028d5558f5
Fix alias typo when generating table classes 2019-12-07 09:29:18 +01:00
Elvis Lee 770da50078 [Fix] table not found exception. 2019-12-06 15:06:34 +08:00
Simon Binder 28b1e19145
Test that dart components can be used from UseMoor/Dao
Fixes #267
2019-12-05 19:23:52 +01:00
Simon Binder 3c74a20f56
Enable more recent lints and enforce them 2019-12-04 21:45:09 +01:00
Simon Binder 91e4229049
example: Use provider package 2019-12-04 20:07:59 +01:00
Simon Binder f4c05f44c7
sqlparser: Read table schemas for fts5 tables 2019-12-04 19:55:23 +01:00
Simon Binder 325820af80
Parse CREATE VIRTUAL TABLE statements 2019-12-04 15:36:23 +01:00
Simon Binder 47fc402019
Docs: Recommend disabling analysis for .g.dart files 2019-12-04 11:18:28 +01:00
Simon Binder 092f64d7cf
Escape column names during insert 2019-12-02 21:40:41 +01:00
Simon Binder a0ce3421c9
Resolve json functions when option is set (#235) 2019-11-28 21:50:55 +01:00
Simon Binder 8320ddc788
Make modules configurable via a build option 2019-11-28 20:46:42 +01:00
Simon Binder 9e7e6d0922
Use json_serializable for the build options 2019-11-28 20:34:07 +01:00
Simon Binder 75d4463085
Use same generator session in same build step 2019-11-28 20:14:08 +01:00
Simon Binder 59f408229b
Dart apis for the json1 extension (#235) 2019-11-28 19:13:51 +01:00
Simon Binder d2c863c5fc
Fix crash when database is closed with asserts disabled 2019-11-28 17:59:50 +01:00
Simon Binder 139908ba99
Expand documentation on how batches are executed 2019-11-27 20:18:51 +01:00