Commit Graph

47 Commits

Author SHA1 Message Date
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
Simon Binder 29a6475c85
Include sqlite sources in moor_ffi project
This allows us to drop the download step from the build
2019-11-27 12:28:06 +01:00
Simon Binder 598fef750e
RELEASE
- moor 2.1.0
- moor_generator 2.1.0
- sqlparser 0.4.0
- moor_ffi 0.2.0
2019-11-16 11:23:11 +01:00
Simon Binder c0aa88f4d0
Warn when a database class isn't used as a singleton 2019-11-15 09:52:38 +01:00
Simon Binder 77cc6b2d88
Use extensions methods for Dart query api (#195) 2019-11-06 12:16:55 +01:00
Simon Binder 98470109cf
Remove built_value(_generator) dependency from generator 2019-11-04 17:09:21 +01:00
Simon Binder b189a2bcb2
Better errors on QueryExecutor misuse, fix beforeOpen 2019-11-02 11:48:11 +01:00
Simon Binder fb85ac80cb
Run builder on integration tests, support analyzer 0.38 2019-10-10 17:30:22 +02:00
Simon Binder 22dee72680
Bump sqflite dependency, integration test for array args 2019-09-21 13:20:19 +02:00
Simon Binder 9f8ccd08d0
Actually make the ffi package work on Android 2019-09-15 17:08:22 +02:00
Simon Binder ae8ed3aedf
Also run the ffi integration tests on android 2019-09-14 21:30:38 +02:00
Simon Binder 30e44ecbac
Write more notes on how to use moor_ffi 2019-09-14 21:20:42 +02:00
Simon Binder ec0e82eae4
Allow users to override library opening behavior 2019-09-14 21:07:27 +02:00
Simon Binder 9e498fb575
Merge branch 'ffi' into develop
# Conflicts:
#	moor/lib/src/runtime/executor/helpers/engines.dart
2019-09-14 19:23:37 +02:00
Simon Binder e89f9227ab
Don't write ResultSet classes for single-column queries
Fixes #148
2019-09-14 19:03:52 +02:00
Simon Binder c8ae99b52e
Breaking changes for the upcoming version
1. Removes transaction parameter in callbacks, custom queries
2. Removes MigrationStrategy.onFinished
2019-09-13 21:04:15 +02:00
Simon Binder 7354b56712
Merge branch 'develop' into analyzer-plugin
# Conflicts:
#	moor_generator/lib/src/analyzer/moor/parser.dart
#	sqlparser/lib/src/engine/sql_engine.dart
2019-09-07 23:05:36 +02:00
Simon Binder 8268867369
Fix analyzer errors, re-run build_runner 2019-09-07 20:01:33 +02:00
Simon Binder b550afd68f
Merge branch 'develop' into analyzer-plugin
# Conflicts:
#	moor_generator/lib/src/parser/moor/moor_analyzer.dart
2019-09-07 11:31:34 +02:00
Simon Binder b87a606fb8
Merge branch 'master' into develop 2019-09-05 10:35:07 +02:00
Simon Binder 3c56e0ad6e
Fix race condition in database opening 2019-09-04 18:38:55 +02:00
Simon Binder b1e215b8d3
Merge branch 'develop' into ffi 2019-08-28 15:36:10 +02:00
Simon Binder 0860b6645a
Generate selectable for custom queries
This makes is easier to use getSingle() and watchSingle()
on them.
Fixes #120
2019-08-27 18:44:34 +02:00
Simon Binder a3f6f1e326
Merge branch 'develop' into analyzer-plugin
# Conflicts:
#	moor_generator/pubspec.yaml
2019-08-26 15:32:28 +02:00
Simon Binder e38719a194
Write changelogs, prepare release 1.7 2019-08-22 12:27:39 +02:00
Simon Binder d0e71d8bcd
Remove unused files from vm integration test 2019-08-20 15:38:30 +02:00
Simon Binder ae47867c06
Write meta description tag in documentation 2019-08-18 11:35:08 +02:00
Simon Binder 3dcf59af63
Fix some bugs in the sql parser, another integration test 2019-08-17 22:21:34 +02:00
Simon Binder 925f80aa9f
Support creating databases from an asset 2019-08-16 15:38:13 +02:00
Simon Binder b58c200b21
Merge branch 'develop' into ffi 2019-08-08 19:22:54 +02:00
Simon Binder aa6fea6caa
Fix wrong double primary key on generated tables 2019-08-01 20:14:42 +02:00
Simon Binder 70033b0bde
Merge branch 'develop' into ffi
# Conflicts:
#	moor/lib/src/runtime/database.dart
#	moor/lib/src/runtime/executor/executor.dart
2019-07-31 20:49:15 +02:00
Simon Binder a4bfda494d
Add integration tests for transactions
Also fixes some bugs on the way
2019-07-31 20:47:58 +02:00
Simon Binder 4210c0c836
Start some work on the analyzer plugin
Of course it's not working at all
2019-07-30 18:34:33 +02:00
Simon Binder f4bc8e2121
Integration tests for type converters 2019-07-28 11:43:02 +02:00
Simon Binder 82f84732d0
Resolve aliased columns 2019-07-25 17:33:01 +02:00
Simon Binder 4bf58cb83b
API to close databases, integration test that saves data 2019-07-25 17:04:32 +02:00
Simon Binder 7327e1f8b1
Readme for integration tests 2019-07-24 23:41:16 +02:00
Simon Binder fdbffa47fc
Integration tests for the web backend 2019-07-24 23:32:45 +02:00
Simon Binder 7ab63c0862
Run the integration tests on the VM backend 2019-07-24 22:21:52 +02:00
Simon Binder a7395ba83d
Write integration tests, sort of run them in Flutter 2019-07-24 22:14:02 +02:00