Commit Graph

1037 Commits

Author SHA1 Message Date
Simon Binder aed9b40c30
Improve table updates issued by batches
Fixes #460
2020-03-29 21:57:55 +02:00
Simon Binder 5ec5a4933c
Fix parsing Uint8Lists from json (#459) 2020-03-27 11:52:00 +01:00
Simon Binder 2b9a85714f
Improve nullability detection in new type inference 2020-03-24 19:33:57 +01:00
Simon Binder cdd57f340d
Automatically migrate from local storage to IndexedDb 2020-03-23 13:36:08 +01:00
Simon Binder 29eec7f784
Fix parser tests in moor_generator 2020-03-22 11:56:28 +01:00
Simon Binder 1a2d3bdee7
Parse comma separated tables as proper join (#453) 2020-03-22 11:51:39 +01:00
Simon Binder d533a0a254
Fix error recovery on early finished statements #453 2020-03-21 22:02:27 +01:00
Simon Binder 5d6fcec438
Document how to use a moor beta/dev version on website 2020-03-21 12:11:56 +01:00
Simon Binder 2da8577b01
Add failing test for #447 2020-03-18 13:09:18 +01:00
Simon Binder 5b675a811b
Don't consider rowid aliases required (#445) 2020-03-16 20:36:03 +01:00
Simon Binder 8d9b0874b9
Add missing count example to docs 2020-03-16 12:01:11 +01:00
Simon Binder dd74948e1a
Properly support transactions in migrations 2020-03-15 21:42:22 +01:00
Simon Binder d1332ff1be
moor_ffi: Only update schema version after migrations 2020-03-15 15:20:44 +01:00
Simon Binder bc1f347498
Test transactions in migrations (#430) 2020-03-15 15:16:22 +01:00
Simon Binder 97127782b2
Fix CI pub get and analysis 2020-03-15 15:06:10 +01:00
Simon Binder 60d3bf05e1
Remove coupling between QueryExecutor and generated db
Closes #372
2020-03-15 14:55:02 +01:00
Simon Binder 4ff3d438f8
Provider section in faq: builder -> creator 2020-03-13 11:52:17 +01:00
Simon Binder ae7c9df049
Add integration test to save and restore databases 2020-03-10 20:43:39 +01:00
Simon Binder 9b2b73cd20
Merge pull request #432 from jaggernod/throw-meaningful-error-on-prepared-statement
Handling exceptional case when executing Prepared Statement
2020-03-07 13:35:50 +01:00
Simon Binder df5553dee4
Add test for sql failure in select, use isA 2020-03-07 11:23:30 +01:00
Simon Binder 4727f1f5ea
Merge branch 'develop' into throw-meaningful-error-on-prepared-statement 2020-03-07 11:10:05 +01:00
Simon Binder 994374e191
Merge branch 'master' into develop 2020-03-07 11:09:13 +01:00
Pawel Polanski bd4034e7c7 Do not swallow error when executing prepared statement 2020-03-06 23:06:13 +01:00
Pawel Polanski ccd7f9d244 More detailed SqliteException explanations 2020-03-06 23:04:56 +01:00
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