Simon Binder
befe3f33ef
Merge pull request #1835 from simolus3/bigint-support
...
Add BigInt support
2022-05-16 18:34:38 +02:00
Radomir Epur
ef695c682e
docs: fix typo in git path(dirft -> drift) ( #1838 )
2022-05-16 16:22:33 +02:00
Simon Binder
15184110f4
Remove compatibility check
2022-05-16 15:59:11 +02:00
westito
7330cf5d58
Add BigInt support to executors
2022-05-12 17:57:56 +02:00
Simon Binder
9e2e9c47be
Upgrade to latest `sqlite3` package in example app
2022-05-04 20:41:15 +02:00
Simon Binder
b56cf96b09
Run drift web tests with WebAssembly
2022-04-04 21:49:05 +02:00
westito
ff1912fc07
Merge remote-tracking branch 'simolus3/develop' into unique-constraint
...
# Conflicts:
# drift/lib/src/ffi/database.dart
2022-04-02 20:13:44 +02:00
westito
171cf88aac
Regenerate all test code
2022-04-02 20:11:40 +02:00
Simon Binder
204fbad682
Move examples into top-level folder
2022-04-01 22:11:21 +02:00
Simon Binder
bc5295492d
Add `drift_sqflite` to replace `moor_flutter`
2022-03-14 20:27:19 +01:00
Simon Binder
da212944ff
Replace old website and repository links
2022-03-13 15:52:15 +01:00
Simon Binder
44d0daf753
Remove unused coverage tooling
2022-03-08 10:59:48 +01:00
Simon Binder
c98511693d
Remove analyzer override in built value test
2022-03-04 16:53:47 +01:00
Simon Binder
35efc68e42
Web: Re-run setup whenever database is re-opened
2022-03-03 14:18:44 +01:00
Simon Binder
61dc1f17b8
Name schema exports automatically ( #1721 )
2022-03-02 17:25:30 +01:00
Simon Binder
4099b77a56
Delete unused tooling file
2022-02-28 13:18:36 +01:00
Simon Binder
e38a6b9059
Add setup parameter for web databases
2022-02-27 19:56:54 +01:00
Simon Binder
93d328f056
Rename `moor` to `drift` in `sqlparser`
2022-02-26 21:38:28 +01:00
Simon Binder
7d56497c18
Some plugin fixes
2022-01-24 17:25:24 +01:00
Simon Binder
05d8406f4a
Fix migration example, test it in CI
2022-01-19 19:55:19 +01:00
Simon Binder
7bfa00e8b4
Make database of tables accessible for Dart API
2022-01-18 21:50:51 +01:00
Simon Binder
94bdab0338
Allow running multiple statements on the web
2022-01-12 18:10:14 +01:00
Simon Binder
19bd92bfd9
Remove redundant imports
2021-12-09 14:10:51 +01:00
westito
d22bbcbadf
Merge remote-tracking branch 'simolus3/develop' into views
2021-12-02 09:20:02 +01:00
Simon Binder
2999df449d
Fix schema verifier around virtual tables
2021-12-01 21:07:47 +01:00
westito
3e9a920a4f
Regenerate files
2021-11-30 22:23:35 +01:00
westito
fad654a5aa
PostgreSQL support ( #1507 )
...
Support PostgreSQL as a dialect in the main package and with an implementation provided in another package.
Co-authored-by: Simon Binder <oss@simonbinder.eu>
2021-11-11 14:40:41 +01:00
westito
f78c251f3f
Add Flutter web worker example ( #1512 )
2021-10-27 21:25:32 +02:00
Simon Binder
849b0de040
Accept drift-named schema files
2021-10-14 21:44:44 +02:00
Simon Binder
331d600df3
Fix resolving Dart code in drift files
2021-10-10 22:01:59 +02:00
Simon Binder
3befd90a2d
Migrate benchmarks to drift
2021-10-09 18:02:14 +02:00
Simon Binder
aa8e3f7781
Migrate built_value example
2021-10-09 17:55:21 +02:00
Simon Binder
cc99b1372a
Migrate migration example to drift
2021-10-09 17:10:34 +02:00
Simon Binder
cfbea9fd57
Migrate web workers example to drift
2021-10-08 23:33:39 +02:00
Simon Binder
fcbef06b7c
Move generator to drift_dev
2021-10-08 18:10:48 +02:00
Simon Binder
aa76f1529f
Rename elements with moor in them
2021-10-08 17:25:17 +02:00
Simon Binder
fd0764594d
Replace moor impl with exports
2021-10-07 22:16:05 +02:00
Simon Binder
40bc3a17bb
Organize imports
2021-09-10 11:43:21 +02:00
Simon Binder
2945381213
Avoid analyzer_plugin imports outside of plugin
2021-08-16 17:55:45 +02:00
Simon Binder
76155358b4
Fix with_built_value example
2021-08-06 17:11:12 +02:00
Simon Binder
f3d9faa08c
Migrate benchmarks to null-safety
2021-07-30 15:43:44 +02:00
Simon Binder
f3360d06a6
Use a single generated column implementation
2021-06-19 16:31:08 +02:00
Simon Binder
7d095f7f24
Re-generate in extras/migrations_example
2021-06-15 21:45:45 +02:00
Simon Binder
5848a8e942
Re-generate schema files
2021-06-01 11:38:08 +02:00
Simon Binder
c6ecff5a0a
Use const uuid where possible
2021-05-21 10:50:54 +02:00
Simon Binder
d220892f64
Delete mysql extra
2021-05-21 10:48:29 +02:00
Simon Binder
29bb6a73c8
Fix pub get from clean state
2021-05-21 10:47:42 +02:00
Simon Binder
464139f454
Adapt excludes in analysis options
2021-05-15 10:42:15 +02:00
Simon Binder
4bca48fd17
Support generating older data classes
2021-05-14 20:18:40 +02:00
Simon Binder
41eb6f4181
Avoid dynamic when overriding ==
2021-05-14 18:50:29 +02:00
Simon Binder
2fe8151508
Generate null-safe migration tests if possible
2021-05-11 20:47:23 +02:00
Simon Binder
43fea9bc2d
Integration test for RETURNING
2021-05-06 17:39:59 +02:00
Simon Binder
0e4541a987
Generate non-nullable nested result sets
2021-05-06 17:20:13 +02:00
Simon Binder
4f2268410e
Migrate VM and web integration tests
2021-05-06 16:50:31 +02:00
Simon Binder
6559f67f45
Upgrade sql.js
2021-05-06 16:37:05 +02:00
Simon Binder
adb27d056b
Start phasing out SqlTypeSystem
2021-04-25 16:14:33 +02:00
Simon Binder
12ab64a33e
Support cancellations in moor_flutter
2021-04-01 17:43:23 +02:00
David Martos
8f9e2a9edb
Use carret syntax
...
Co-authored-by: Simon Binder <oss@simonbinder.eu>
2021-03-21 15:33:38 +01:00
David Martos
b6bf784f14
Update to stable version of sqflite_sqlcipher
2021-03-21 12:49:06 +01:00
Simon Binder
1d08b73ed4
Remove now unnecessary dependency overrides
2021-03-18 22:56:47 +01:00
Simon Binder
c498af95ba
Fix with_build_value example once more
2021-03-16 19:24:06 +01:00
Simon Binder
1b6c031aaa
Migrate migrations example to null-safety
2021-03-09 21:52:46 +01:00
Simon Binder
3584614d24
Fix dependencies of with_built_value
2021-03-07 14:06:51 +01:00
Simon Binder
2f13e20a1f
Upgrade with_built_value example
2021-02-25 20:41:56 +01:00
Simon Binder
20d9cdf0fd
Add web worker example
2021-01-31 21:50:12 +01:00
Simon Binder
ca2be1bb6a
Add Dart default value to generated schema ( #1018 )
2021-01-27 22:10:34 +01:00
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
5401a4c80a
Publish dev packages to simonbinder.eu
2020-12-10 15:19:02 +01:00
Simon Binder
42ba773422
Consequently upgrade dev version to 4.0.0
2020-12-07 21:30:15 +01:00
David Martos
7d0b2db2a2
nnbd migration of encrypted_moor and moor_flutter
2020-11-26 18:45:29 +01:00
Simon Binder
0259fd58fd
Support older versions of the convert package too
2020-11-26 16:59:06 +01:00
David Martos
439f36ca85
sqflite_sqlcipher nnbd version
2020-11-25 17:24:47 +01:00
Simon Binder
e067b00375
Delete Cirrus CI files
2020-11-20 20:02:12 +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
Simon Binder
6c913a4811
Support raw statements in migration tests ( #909 )
2020-11-14 12:26:01 +01:00
Simon Binder
c7669a18a0
Fix more bugs in schema verification tests
2020-11-11 11:36:19 +01:00
Simon Binder
f83aa1a35a
Add moor-file based table to migration example
2020-11-09 18:55:45 +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
85206d2fd7
Resolve dependency mismatches in built value example
2020-10-21 10:57:24 +02:00
Simon Binder
6eab57f114
Add more docs in the migrations example
2020-10-21 10:33:31 +02:00
Simon Binder
cf537721cb
Add tools to generate old versions of a database
2020-10-14 21:15:17 +02:00
Simon Binder
00bce95e97
Don't add test/ dir to coverage
2020-08-22 12:39:43 +02:00
Simon Binder
1feaf571cb
Fix coverage resolving
2020-08-21 21:26:27 +02:00
Simon Binder
6fba2555c1
Api to turn AST nodes into a textual represenation
2020-08-21 16:44:17 +02:00
Simon Binder
599128273c
Migrate with_built_value to moor/ffi
2020-07-29 12:03:47 +02:00
Simon Binder
7623362fc6
Don't test moor_ffi in CI
...
We don't have Flutter in the CI, and the package is
deprecated.
2020-07-29 11:28:55 +02: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
22391a9c54
Migrate benchmarks to sqlite3/ package
2020-07-10 17:30:10 +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
ced0b3b5c7
Encrypted moor: Assert non-nullable transactions
2020-06-19 14:13:15 +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
348fb655ce
Update pubspec for the encrypted executor
2020-05-04 13:13:13 +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
821d1620cd
Run batch statements in the right order
2020-04-24 20:09:46 +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
David
6424bd209c
sqflite_sqlcipher dependency
2020-03-15 20:43:10 +01: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
25facaaf18
fix runCustom args in encrypted moor
2020-03-08 20:15:22 +01:00
Simon Binder
994374e191
Merge branch 'master' into develop
2020-03-07 11:09:13 +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
David Martos
dcf09b55d8
Expose underlying db in encrypted moor
2020-03-02 20:46:43 +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
2b780492d3
Re-run generator on benchmark project
2020-02-19 19:32:00 +01:00
Simon Binder
b266e5e53f
Collect coverage for moor_ffi ( #400 )
2020-02-19 13:00:03 +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
814e7bf61d
SqlEngine: Migrate default construtor to options
2020-02-10 18:48:03 +01:00
Simon Binder
d44004e598
Explain how to use moor with built_value
2020-02-08 15:29:31 +01:00
Simon Binder
cd9b7101b4
Optional part builder, example with built_value
...
See #89
2020-02-06 22:27:54 +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
75200a1eab
Re-run generator on benchmarks subproject
2020-01-21 21:13:06 +01:00
Simon Binder
83a3344719
Initializer for web databases ( #328 )
2020-01-18 12:26:47 +01:00
Simon Binder
6434f7a7d5
Support virtual tables in the analyzer plugin
2020-01-09 22:45:25 +01:00
Simon Binder
a3708b7230
Remove deprecated usages of SqlEngine constructor
2020-01-07 11:40:43 +01:00
Simon Binder
927fbf561b
Begin architecture of a new type resolver in sqlparser
2019-12-26 21:55:02 +01:00
Simon Binder
d41097d8e5
Benchmark for serial inserts for comparison
2019-12-23 20:47:03 +01:00
Simon Binder
60f55c9224
Refactor benchmarks, add one for inserts
2019-12-23 20:22:17 +01:00
Simon Binder
8e144c69e0
Start writing some low-level benchmarks
2019-12-23 20:00:48 +01:00
Simon Binder
76ac7c7ab3
Support batches in transactions ( #271 )
2019-12-16 15:50:12 +01:00
Simon Binder
ae91b5d526
Expose plugin debug server as cli command
2019-12-15 21:38:46 +01:00
Simon Binder
da9ca61e0c
Don't remap tables from sql -> moor -> sql
2019-12-12 18:06:56 +01:00
Simon Binder
7ab71f7558
Adapt tests for new equals methods
2019-12-12 18:00:29 +01:00