Commit Graph

692 Commits

Author SHA1 Message Date
Simon Binder c0aa88f4d0
Warn when a database class isn't used as a singleton 2019-11-15 09:52:38 +01:00
Simon Binder 22c692c69e
Move base dao/db classes, query engine into separate files 2019-11-15 08:53:11 +01:00
Simon Binder 1974307961
Try to not bind empty blobs to null, doesn't work though 2019-11-14 18:37:24 +01:00
Simon Binder d39f2d9769
ffi: Remove isolate proxy 2019-11-14 18:00:55 +01:00
Simon Binder e83464df28
Prepare 2.1.0 release 2019-11-13 21:14:38 +01:00
Simon Binder b6d5f7eaa8
Merge branch 'master' into develop 2019-11-13 19:29:02 +01:00
Simon Binder bc3910cd86
Collect coverage for the MoorIsolate tests 2019-11-13 18:35:48 +01:00
Simon Binder bea001bb16
Improve test coverage for query generation 2019-11-12 21:16:48 +01:00
Simon Binder 85fa0d4764
Update docs to reflect the new extension-based API 2019-11-09 21:16:24 +01:00
Simon Binder 067212e66c
Make streams emit errors when they can't fetch data (#233) 2019-11-09 19:59:42 +01:00
Simon Binder ba6411e6f0
Expose UPPER, LOWER and LENGTH functions from the Dart API 2019-11-09 18:53:15 +01:00
Simon Binder 4a2b02782e
Make streams emit errors when they can't fetch data (#233) 2019-11-09 16:34:01 +01:00
Simon Binder 5b3bcb1916
Introduce extension for DateTime expressions 2019-11-09 13:07:49 +01:00
Simon Binder 82a6fd9f2d
Make sure libsqlite3.so is available for CI tests 2019-11-09 10:45:35 +01:00
Simon Binder 623f3212a1
Use builtin coverage collection from test package 2019-11-08 22:51:53 +01:00
Simon Binder 17210f7bee
Don't write all parentheses (compare precedence, #231) 2019-11-08 21:49:23 +01:00
Simon Binder b211d68661
Arithmetic operators for sql expressions in Dart 2019-11-08 20:43:52 +01:00
Simon Binder ef5dde135b
More marketing in readme 2019-11-08 17:32:05 +01:00
Simon Binder 7c9429110f
Reference SDK issue that requires us to hide an extension 2019-11-06 15:33:17 +01:00
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 b0a9255a07
Update documentation on migrations 2019-11-03 20:22:47 +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