Simon Binder
|
87c50de1e1
|
Add LazyDatabase wrapper to create a database async
|
2019-09-20 20:23:35 +02:00 |
Simon Binder
|
7d962a1f01
|
Fix typo in new override flag
|
2019-09-20 19:36:09 +02:00 |
Simon Binder
|
161f7c0203
|
Optionally override hashCode and equals in result sets
|
2019-09-20 19:31:36 +02:00 |
Simon Binder
|
7121bac866
|
More work on the analyzer plugin
- finish migration to refactored generator
- document how to use the analysis plugin
- better error reporting without redundant messages
|
2019-09-18 20:48:44 +02:00 |
Simon Binder
|
00b2956b35
|
Allow data class names to be overridden in sql
Closes #147
|
2019-09-17 15:23:24 +02:00 |
Simon Binder
|
9f8ccd08d0
|
Actually make the ffi package work on Android
|
2019-09-15 17:08:22 +02:00 |
Simon Binder
|
25ceda3505
|
Report lints about invalid Dart Templates in SQL
|
2019-09-15 11:59:47 +02:00 |
Simon Binder
|
5b6bd1db37
|
Fix some queries with Dart templates not compiling
|
2019-09-15 10:51:35 +02:00 |
Simon Binder
|
082de160bc
|
Start to write changelog for the next version
|
2019-09-14 21:54:16 +02:00 |
Simon Binder
|
928c9832b5
|
Move ffi bindings into new moor_ffi package
|
2019-09-14 20:54:13 +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
|
54c3dbc4b8
|
Write variables created in a dart template
|
2019-09-14 17:48:17 +02:00 |
Simon Binder
|
29c0cdaf3f
|
Write integration test for Dart templates
|
2019-09-14 16:48:51 +02:00 |
Simon Binder
|
349b245089
|
Write implementation for Dart placeholders
|
2019-09-14 16:42:24 +02:00 |
Simon Binder
|
bf7c9feddf
|
Write parameter declarations for Dart placeholders
|
2019-09-14 12:26:58 +02:00 |
Simon Binder
|
7a8191fe7e
|
Fix moor queries not expanding array vars properly
|
2019-09-14 09:27:36 +02:00 |
Simon Binder
|
f7ade2b7b6
|
Explain why we have more than one primaryKey override
|
2019-09-13 21:25:14 +02:00 |
Simon Binder
|
456392333d
|
Remove InsertStatement.insertOrReplace
|
2019-09-13 21:12:51 +02:00 |
Simon Binder
|
e9225cf759
|
Always generate private watch methods
|
2019-09-13 21:11:17 +02:00 |
Simon Binder
|
138652fdc4
|
Remove DiffUtil and MoorAnimatedList
|
2019-09-13 21:06:11 +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
|
3097bb0591
|
Don't write get/watch methods for queries declared in moor
|
2019-09-13 20:23:48 +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
|
1130101f1f
|
Support writing string literals from Constant<String>
Fixes #137
|
2019-09-06 22:37:15 +02:00 |
Simon Binder
|
b87a606fb8
|
Merge branch 'master' into develop
|
2019-09-05 10:35:07 +02:00 |
Simon Binder
|
6993b26532
|
Release 1.7.2 of moor
Fixed a bug where databases where not opened properly.
|
2019-09-04 22:19:20 +02:00 |
Simon Binder
|
81986d2010
|
Remove debug logs used to fix the opening problem
|
2019-09-04 22:11:48 +02:00 |
Simon Binder
|
a17ad13542
|
Report more errors when database is opened
|
2019-09-04 21:20:09 +02:00 |
Simon Binder
|
3c56e0ad6e
|
Fix race condition in database opening
|
2019-09-04 18:38:55 +02:00 |
Simon Binder
|
1bbc26767e
|
Assert that the database is not opened multiple times.
|
2019-09-04 16:13:37 +02:00 |
Simon Binder
|
867f953107
|
Merge branch 'develop' into refactor-generator
# Conflicts:
# moor_generator/lib/src/analyzer/sql_queries/lints/linter.dart
|
2019-09-03 19:35:23 +02:00 |
Simon Binder
|
35fcdb2c0f
|
Implement error handling in the refactored builder
|
2019-09-03 19:30:05 +02:00 |
Simon Binder
|
4af370f0cb
|
Tests: Verify that an executor is open when used.
|
2019-08-30 19:32:44 +02:00 |
Simon Binder
|
0ef56d6163
|
Use doWhenOpened for custom updates and inserts
|
2019-08-30 09:16:55 +02:00 |
Simon Binder
|
3cb00a4b31
|
Remove unnecessary "this." in insert companion constructor
|
2019-08-29 16:33:15 +02:00 |
Simon Binder
|
241baed0c3
|
Generate query implementations for insert statements
|
2019-08-29 16:27:55 +02:00 |
Simon Binder
|
a4b256f8a5
|
Support custom insert statements at runtime
|
2019-08-29 15:52:29 +02:00 |
Simon Binder
|
4e83c0275b
|
Generate constructor for companions with @required fields
|
2019-08-29 13:54:08 +02:00 |
Simon Binder
|
78bb23a7d1
|
Raise SDK constraints to 2.5.0 for FFI version
|
2019-08-28 17:46:52 +02:00 |
Simon Binder
|
03a35ae9cd
|
Port ffi example to updated structs / pointer api
|
2019-08-28 16:57:25 +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
|
fc6c9857bb
|
Add example project to play around with the AS plugin
|
2019-08-26 21:11:50 +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
|
b1e6d931d5
|
Prepare release 1.7.1
|
2019-08-25 22:44:28 +02:00 |
Simon Binder
|
ca76746000
|
Better explain how `getSingle` and `watchSingle` works.
|
2019-08-24 18:03:53 +02:00 |
Simon Binder
|
89f3987e6b
|
Fix generation of PRIMARY KEY constraint on int column
|
2019-08-23 23:07:31 +02:00 |
Simon Binder
|
77e444b13b
|
Verify that INTEGER PRIMARY KEY accepts absent values
Verifies that #112 is fixed
|
2019-08-23 22:57:16 +02:00 |
Simon Binder
|
397d3f2383
|
Support absent values on INTEGER PRIMARY KEY
|
2019-08-23 22:50:15 +02:00 |