Commit Graph

670 Commits

Author SHA1 Message Date
Simon Binder 77cc6b2d88
Use extensions methods for Dart query api (#195) 2019-11-06 12:16:55 +01:00
Simon Binder e3d3bcd99e
Proper api to terminate a MoorIsolate 2019-11-05 21:36:51 +01:00
Simon Binder 44cb7c0503
Documentation for the isolate executor 2019-11-05 21:19:52 +01:00
Simon Binder c7fdf44a6e
Support transactions and batches for the isolate api 2019-11-05 20:22:55 +01:00
Simon Binder d08275d3be
Run moor_ffi and VM integration tests in CI 2019-11-05 18:30:39 +01:00
Simon Binder cbf8a3e3ce
Fix pubspec version in moor_ffi 2019-11-05 18:25:43 +01:00
Simon Binder f0dc307901
Merge branch 'ffi-dart-2-6' into develop
# Conflicts:
#	moor_ffi/CHANGELOG.md
#	moor_ffi/pubspec.yaml
2019-11-05 18:24:19 +01:00
Simon Binder 98470109cf
Remove built_value(_generator) dependency from generator 2019-11-04 17:09:21 +01:00
Simon Binder 9f1aafbcef
Expand batch api to update statements (#221) 2019-11-02 21:48:37 +01:00
Simon Binder b189a2bcb2
Better errors on QueryExecutor misuse, fix beforeOpen 2019-11-02 11:48:11 +01:00
Simon Binder ed4d69a792
Remove limitations of a beforeOpen callback (#216) 2019-10-31 18:41:15 +01:00
Simon Binder 85426a7bf4
Remove background mode from moor_ffi 2019-10-30 21:15:07 +01:00
Simon Binder f3221e09bc
Support stream queries across isolates 2019-10-30 21:10:53 +01:00
Simon Binder a2c7c11abf
Support executing queries over isolates 2019-10-30 20:32:08 +01:00
Simon Binder 5cc1f85441
Inject mock streams via .connect constructor 2019-10-30 19:25:26 +01:00
Simon Binder c5d4e38ea9
Implementation for isolate databases over rpc 2019-10-30 19:12:38 +01:00
Simon Binder ebc22c8382
Merge branch 'develop' into multiple-isolates 2019-10-28 20:42:30 +01:00
Simon Binder 71ef36ff83
Explain how to install sqlite for moor_ffi unit tests 2019-10-28 20:42:02 +01:00
Simon Binder 0667191f14
Docs: Only use production environment var on production 2019-10-27 17:00:31 +01:00
Simon Binder ceed461a06
Update documentation on migrations 2019-10-27 16:52:46 +01:00
Simon Binder a304d13927
Use enforceHasSpan on all parse results in tests 2019-10-27 11:51:09 +01:00
Simon Binder 591e1b2bff
Support WITH clause for inner select statements 2019-10-27 10:47:21 +01:00
Simon Binder bf1e174ca3
Formally support analyzer 0.40.0
It looks like we don't use any of the removed APIs, but that's hard to verify because most of our dependencies don't support analyzer 0.40.0 yet.
2019-10-27 10:46:29 +01:00
Simon Binder 9372178204
INSERT INTO SELECT: Support with clause 2019-10-25 23:18:21 +02:00
Simon Binder 603f9c0eb5
Update gitter links to new room 2019-10-25 16:22:12 +02:00
Simon Binder d43a23eb88
Don't crash when a table wasn't resolved 2019-10-24 22:26:27 +02:00
Simon Binder 169d6aba48
Refactor: Split select.dart into smaller files 2019-10-24 22:06:15 +02:00
Simon Binder 549a90893e
Refactor: Extract DDL into mini-library 2019-10-24 22:01:57 +02:00
Simon Binder 77c54294ea
Refactor: Extract type mapping code into mini library 2019-10-24 21:57:31 +02:00
Simon Binder e8b4f8347c
Refactor: Put all query gen code into one compilation unit 2019-10-24 21:54:36 +02:00
Simon Binder cf671ac56b
Expand documentation, support DISTINCT selects (#205) 2019-10-24 21:12:31 +02:00
Simon Binder 45a8d8fbb3
IDE: Add navigation support for more types of columns 2019-10-24 20:41:58 +02:00
Simon Binder b8af08919a
Handle recursive CTEs in analyzer 2019-10-23 18:03:24 +02:00
Simon Binder d55e1de66d
Handle common table expressions in the analyzer 2019-10-23 17:07:44 +02:00
Simon Binder 29a7b4853d
Parse common table expressions (no analysis yet) 2019-10-21 22:10:19 +02:00
Simon Binder ccf208b329
Support additional insert modes 2019-10-21 17:14:58 +02:00
Simon Binder 82477d9325
Escape name when writing bool constraint (#201) 2019-10-21 16:34:15 +02:00
Simon Binder 34c9908552
Write basic guide on unit testing with moor 2019-10-20 13:45:54 +02:00
Simon Binder 1f8dfbe887
Call doWhenOpened for customStatement (#199) 2019-10-20 11:39:24 +02:00
Simon Binder 8a8b811643
Fix more sqlparser crashes in the resolver 2019-10-20 11:28:05 +02:00
Simon Binder a69f469444
Support sqlite_master, sqlite_sequence tables (#197) 2019-10-19 16:56:36 +02:00
Simon Binder fd27c878d4
Fix errors in sqlparser that were swallowed before 2019-10-19 16:41:30 +02:00
Simon Binder d8226aeb23
Handle aliases references to rowid (#197) 2019-10-19 16:09:44 +02:00
Simon Binder 0c2362a625
Scaffold layout for multi-isolate implementation 2019-10-19 14:27:15 +02:00
Simon Binder 263004fe7b
Option to use the column name as json key in moor files
Closes #176
2019-10-17 21:44:20 +02:00
Simon Binder aabf565479
Migrate moor_ffi to Dart 2.6 2019-10-17 19:00:51 +02:00
Simon Binder 95f37575f8
Optionally use data class name for companions
Closes #185
2019-10-16 21:33:13 +02:00
Simon Binder d00336a1d2
Don't use Pointer.allocate and Pointer.free
Both methods will be removed in Dart 2.6
2019-10-15 19:23:04 +02:00
Simon Binder 4c090af98c
Ability to override json keys in moor files (#176) 2019-10-14 19:59:52 +02:00
Simon Binder 438f979ed1
Use a mixin for auto increment columns in test file 2019-10-11 22:12:28 +02:00