Commit Graph

1213 Commits

Author SHA1 Message Date
Simon Binder d600bbc70e
Fix find_stream_update_rules_test 2020-03-04 22:50:49 +01:00
Simon Binder 3002d87bcb
New tableUpdates stream method on QueryEngine (#394) 2020-03-04 22:43:41 +01:00
Simon Binder 2811d91fa1
Migrate stream store to table updates 2020-03-04 22:08:58 +01:00
Simon Binder b823f534c8
Write update kind for compiled update and delete queries 2020-03-04 21:28:08 +01:00
Simon Binder b0b9a0ed47
Generate more accurate update rules for triggers 2020-03-04 20:59:03 +01:00
Simon Binder 0b0d5792fd
Allow more specific updates in stream queries 2020-03-04 20:28:31 +01:00
Simon Binder 0a09f3411c
Remove outdated warning for moor_ffi 2020-03-04 17:39:14 +01:00
Simon Binder 2650b7a24b
Add simple test for runtime rule propagation 2020-03-04 16:57:51 +01:00
Simon Binder 799eba1c67
Verify update rule generation in generator, fix tests 2020-03-04 16:52:08 +01:00
Simon Binder 545fbcc86a
Find and generate update rules during builds 2020-03-04 16:34:16 +01:00
Simon Binder 3fe6fbfc99
Support table-update propagation at runtime 2020-03-04 16:09:01 +01:00
Simon Binder c8f4f739e9
Support for REGEXP (#410) 2020-03-04 13:48:25 +01:00
Simon Binder 84149d7e15
Merge pull request #426 from davidmartos96/db_downgrade_moor_flutter
FIX: onUpgrade callback was not being called when downgrading db in moor_flutter
2020-03-04 10:22:37 +01:00
David Martos 4a1a3a805c Add docs to the onUpgrade callback about handling schema version downgrades 2020-03-03 23:28:21 +01:00
David Martos 2bcd51f437 The onUpgrade callback in the moor migrator was not being fired when downgrading a database using moor_flutter.
The change has been made to moor_flutter and to moor_flutter with encryption
2020-03-03 23:14:19 +01:00
David Martos 3fba2ce05b Improvements in the moor_flutter integration tests
* The asset db test was not being cleaned up
* The batch execution was not being awaited, so sometimes was interfering with other tests with the error (1032) SQLITE_READONLY_DBMOVED (https://www.sqlite.org/rescode.html#readonly_dbmoved)
2020-03-03 23:14:19 +01:00
Simon Binder 51ba217484
Improve docs on post-migration callbacks, typo 2020-03-03 22:25:09 +01:00
Simon Binder 808d194939
Merge pull request #425 from davidmartos96/expose_sqflite_db
Expose underlying db in encrypted moor
2020-03-02 22:32:19 +01:00
David Martos dcf09b55d8 Expose underlying db in encrypted moor 2020-03-02 20:46:43 +01:00
Simon Binder 6c6b198943
Tests for column nullability assists 2020-02-27 11:18:08 +01:00
Simon Binder 3e691a72a6
Tests for syntax highlighting 2020-02-25 21:54:12 +01:00
Simon Binder d7bb4f51e6
Merge branch 'dont-use-double-quoted-strings' into develop 2020-02-25 14:17:38 +01:00
Simon Binder aa98774eae
Don't generate double-quoted string literals 2020-02-25 14:15:31 +01:00
Simon Binder 341d03c8f2
moor_flutter: Fix runCustom not using variables 2020-02-23 19:43:11 +01:00
Simon Binder 87d1f2941b
Test for string concatenation variable inference 2020-02-23 19:23:50 +01:00
Simon Binder 23585ad920
Don't await StreamController.close() when closing streams 2020-02-19 20:01:24 +01:00
Simon Binder 2b780492d3
Re-run generator on benchmark project 2020-02-19 19:32:00 +01:00
Simon Binder 36bf6524df
Some more unit tests for the core moor package 2020-02-19 15:01:33 +01:00
Simon Binder aaa0967b6f
More tests for moor_ffi 2020-02-19 14:17:23 +01:00
Simon Binder b266e5e53f
Collect coverage for moor_ffi (#400) 2020-02-19 13:00:03 +01:00
Simon Binder 0440e1bc5b
Mark additional moor_ffi functions as deterministic 2020-02-19 12:47:57 +01:00
Simon Binder 11d5a78606
Document how to use the new moor_ffi functions 2020-02-19 12:45:15 +01:00
Simon Binder 990755f170
Static analysis for moor_ffi functions 2020-02-19 12:25:40 +01:00
Simon Binder e536761295
Add Dart apis for mathematical functions in moor_ffi 2020-02-18 22:36:08 +01:00
Simon Binder 33faf4e962
Fix tests in moor 2020-02-18 22:21:09 +01:00
Simon Binder fa5411fb5d
Enable mathematical functions in moor_ffi (#397) 2020-02-18 22:14:30 +01:00
Simon Binder 1832b59848
Support return values in user defined functions 2020-02-18 21:20:46 +01:00
Simon Binder 2d2d102654
moor_ffi: Support user-defined functions 2020-02-18 21:13:06 +01:00
Simon Binder 10b12a5976
Remove two more tiny deprecated members 2020-02-17 21:22:43 +01:00
Simon Binder 64bbbde689
Remove deprecated members of CustomSelectStatement 2020-02-17 21:17:51 +01:00
Simon Binder ad5ef7e66b
Remove top-level isIn and isNotIn methods 2020-02-17 21:15:31 +01:00
Simon Binder d43e227757
Make eager ast resolving behavior opt-in 2020-02-17 21:05:56 +01:00
Simon Binder e2b65e968a
Rename customSelectQuery to just customSelect
Also fix a crash in the builder
2020-02-17 20:43:42 +01:00
Simon Binder 8c4c6cd8cd
Remove insertAll and orReplace 2020-02-17 18:11:01 +01:00
Simon Binder 11af414551
Remove the second type parameter on expressions 2020-02-17 18:05:24 +01:00
Simon Binder f15f004ba8
Remove top-level boolean and datetime functions 2020-02-17 17:17:46 +01:00
Simon Binder 9e1a12432a
Don't export core moor from moor_web 2020-02-17 17:11:34 +01:00
Simon Binder 7c62d6cdd1
Provide IndexedDB backend on the web (#390) 2020-02-16 13:26:25 +01:00
Simon Binder 57fa1d50c6
Release moor and moor_generator 2.4.0, sqlparser 0.7.0 2020-02-12 21:01:41 +01:00
Simon Binder 7fc1671bf8
Fix null pointer in SqlEngine constructor 2020-02-12 19:52:19 +01:00