Simon Binder
e07397006f
Remove SelectableUtils extension
2021-01-20 12:06:48 +01:00
Simon Binder
36edcf0ed6
Make getSingle() and watchSingle() non-nullable
2020-12-14 20:22:27 +01:00
Simon Binder
0259fd58fd
Support older versions of the convert package too
2020-11-26 16:59:06 +01:00
Simon Binder
a5ca7e745f
Add more dependency overrides
2020-11-20 18:14:39 +01:00
Simon Binder
0ef7353df5
Setup CI with Dart 2.12 beta
2020-11-18 10:53:20 +01:00
Gustav Bylund
3415c3e84c
chore: regenerate integratation test database.g.dart
2020-10-28 00:43:56 +01:00
Gustav Bylund
4eba4e7070
feat: add support for documentation comments
2020-10-28 00:43:56 +01:00
Simon Binder
4f6798c0ab
Test moor_ffi through Flutter in CI
2020-07-29 11:17:57 +02:00
Simon Binder
167a267bb7
Merge branch 'master' into develop
...
# Conflicts:
# extras/integration_tests/flutter_db/pubspec.lock
# moor_ffi/CHANGELOG.md
# moor_ffi/pubspec.yaml
2020-07-29 10:42:24 +02:00
Simon Binder
5c6e8a76b6
Split ffi & sqflite integration tests
2020-07-23 12:27:45 +02:00
Simon Binder
270a29164f
Migrate integration test to new ffi library
2020-07-18 17:57:17 +02:00
Simon Binder
e4fa5fb936
Begin migration to sqlite3 package
2020-07-08 19:04:57 +02:00
Simon Binder
110a8d9e53
Add empty Android plugin class to moor_ffi
2020-07-08 16:02:20 +02:00
Simon Binder
634d1318e0
Add empty Android plugin class to moor_ffi
2020-07-03 12:10:37 +02:00
Simon Binder
e6a51b5ac4
moor_ffi: Build with latest sqlite3 and rtree
2020-06-24 17:47:14 +02:00
Simon Binder
231efe26a7
Run integration tests for encrypted_moor as well
2020-05-28 11:14:09 +02:00
Simon Binder
7ad8c619f9
moor_flutter: Don't upgrade schema when migration throws ( #584 )
2020-05-28 10:40:33 +02:00
Simon Binder
df32408a7c
Add destructive migration feature ( #576 )
2020-05-16 13:22:09 +02:00
Simon Binder
25ee06ab36
Don't attempt to close databases that have never been open ( #560 )
2020-05-13 11:12:17 +02:00
Simon Binder
93ae15986a
Fix batches in moor_flutter
2020-05-03 14:24:25 +02:00
Simon Binder
aed5b43892
Fix integration tests on web
2020-05-03 13:56:49 +02:00
Simon Binder
0a30b8a12e
Upgrade integration tests, release sqlparser 0.8
2020-05-03 13:28:34 +02:00
Simon Binder
9ee050525d
Flutter integration tests for isolates
2020-04-25 16:34:45 +02:00
Simon Binder
97cff8564d
Migrate integration tests to DatabaseConnection
2020-04-25 15:12:55 +02:00
Simon Binder
1546f323b2
Merge branch 'master' into develop
...
# Conflicts:
# docs/content/en/docs/Getting started/advanced_dart_tables.md
# docs/content/en/docs/Using SQL/moor_files.md
# extras/integration_tests/flutter_db/lib/moor_flutter.dart
# moor/CHANGELOG.md
# moor/lib/src/runtime/isolate/client.dart
# moor/lib/src/runtime/isolate/server.dart
# moor/pubspec.yaml
# moor_ffi/test/database/database_test.dart
2020-04-25 12:44:01 +02:00
Simon Binder
62a363105a
Refactor Insertables to avoid covariant parameters
2020-04-17 18:02:05 +02:00
David Martos
871b5b212f
rename integration tests main files
2020-04-15 19:32:42 +02:00
David Martos
d2e25baa62
More robust integration tests for moor_ffi and moor_flutter
2020-04-15 19:31:17 +02:00
Simon Binder
bc1f347498
Test transactions in migrations ( #430 )
2020-03-15 15:16:22 +01:00
Simon Binder
60d3bf05e1
Remove coupling between QueryExecutor and generated db
...
Closes #372
2020-03-15 14:55:02 +01:00
Simon Binder
ae7c9df049
Add integration test to save and restore databases
2020-03-10 20:43:39 +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
d7bb4f51e6
Merge branch 'dont-use-double-quoted-strings' into develop
2020-02-25 14:17:38 +01:00
Simon Binder
341d03c8f2
moor_flutter: Fix runCustom not using variables
2020-02-23 19:43:11 +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
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
b143ee5a4b
Refactor sql scoping, make aliased tables explicit
2020-02-05 22:52:45 +01:00
Simon Binder
01326deb7b
Fix crash when using a no-op transaction ( #361 )
2020-01-29 22:03:29 +01:00
Simon Binder
4df07359f3
Use precompiled binaries for moor_ffi
2020-01-29 11:57:07 +01:00
Simon Binder
83a3344719
Initializer for web databases ( #328 )
2020-01-18 12:26:47 +01:00
Simon Binder
76ac7c7ab3
Support batches in transactions ( #271 )
2019-12-16 15:50:12 +01:00
Simon Binder
8ee3029ed0
Save database after opening ( fixes #273 )
2019-12-11 11:18:59 +01:00
Simon Binder
2c97373bdd
Support implicit-dynamic: false
...
Closes #268
2019-12-10 20:38:08 +01:00
Simon Binder
54f4fd73e8
Revert analyzer workaround, a fixed version is out
2019-12-09 12:16:18 +01:00
Simon Binder
2257561c65
Also apply analyzer workaround in the vm tests package
2019-12-07 19:03:26 +01:00
Simon Binder
3c74a20f56
Enable more recent lints and enforce them
2019-12-04 21:45:09 +01:00