Simon Binder
8a54fd4729
Generate code for CREATE TRIGGER statements
2019-10-21 18:13:28 +02:00
Simon Binder
ccf208b329
Support additional insert modes
2019-10-21 17:14:58 +02:00
Simon Binder
82477d9325
Escape name when writing bool constraint ( #201 )
2019-10-21 16:34:15 +02:00
Simon Binder
71247bd692
Release moor 2.0.1+1: Fix for customStatement on open
2019-10-20 21:10:23 +02:00
Simon Binder
bf94057d1b
Call doWhenOpened for customStatement ( #199 )
2019-10-20 21:07:06 +02:00
Simon Binder
6f8757829e
Schema entities as abstraction layer, model for triggers
2019-10-20 14:21:31 +02:00
Simon Binder
1f8dfbe887
Call doWhenOpened for customStatement ( #199 )
2019-10-20 11:39:24 +02:00
Simon Binder
fd27c878d4
Fix errors in sqlparser that were swallowed before
2019-10-19 16:41:30 +02:00
Simon Binder
0c2362a625
Scaffold layout for multi-isolate implementation
2019-10-19 14:27:15 +02:00
Simon Binder
263004fe7b
Option to use the column name as json key in moor files
...
Closes #176
2019-10-17 21:44:20 +02:00
Simon Binder
438f979ed1
Use a mixin for auto increment columns in test file
2019-10-11 22:12:28 +02:00
Simon Binder
77fcf7a7ba
Release moor and moor_generator 2.0.1, sqlparser 0.3.0+1
2019-10-11 17:24:04 +02:00
Simon Binder
5ae3d7c2af
Prepare pubspec and changelog for 2.0.1 release
2019-10-11 13:17:50 +02:00
Simon Binder
fb85ac80cb
Run builder on integration tests, support analyzer 0.38
2019-10-10 17:30:22 +02:00
Simon Binder
e66eaa6127
Merge pull request #181 from minia68/master
...
Make transaction return a value
2019-10-10 17:06:05 +02:00
Ryzhkov Sergey
c0d75f1654
make transaction return value
2019-10-10 16:52:09 +03:00
Simon Binder
47f8dbb90d
Make streams emit cached data for multiple listeners
...
Fixes #178
2019-10-09 22:39:19 +02:00
Simon Binder
aef8e15d61
Merge remote-tracking branch 'origin/master' into develop
...
# Conflicts:
# moor_generator/CHANGELOG.md
2019-10-09 20:32:25 +02:00
Simon Binder
5510a90583
Fix warnings (2.6-dev SDK), escape \r, constant workaround
2019-10-09 19:48:52 +02:00
Simon Binder
6e32e37dd7
Remove unnecessary type parameter on createCompanion
2019-10-05 22:41:23 +02:00
Simon Binder
718af051ff
Optionally disable verification code ( #173 )
2019-10-05 21:41:20 +02:00
Simon Binder
ed03bff4c2
Recognize boolean and datetime column in moor
2019-10-05 21:24:41 +02:00
Simon Binder
fb7c3c2a9a
Dart API for between expressions ( closes #159 )
2019-10-05 13:38:34 +02:00
Simon Binder
6b1ebac16b
Document all public moor apis, enable appropriate lint
2019-10-04 22:19:41 +02:00
Simon Binder
364e3f0c1a
Release moor 2.0
2019-10-03 15:39:32 +02:00
Simon Binder
b0d69f346f
Make StartWithValueTransformer subscribe in same microtask
2019-10-03 11:39:12 +02:00
Simon Binder
c2845cb248
Invalidate cached stream data on update ( #166 )
2019-10-03 11:28:44 +02:00
Simon Binder
a74cc3b624
Create tables sequentially, manually create migrators
...
(#165 )
2019-10-02 22:49:34 +02:00
Simon Binder
7cae79d76b
Document how to debug the plugin, prepare 2.0 release
2019-10-01 17:58:17 +02:00
Simon Binder
869aaada90
Unit tests for row.read*
2019-09-29 16:33:09 +02:00
Simon Binder
4137f6cffa
Write unit tests for DelegateDatabase
2019-09-29 16:21:09 +02:00
Simon Binder
308167dc12
Support mapping BLOBs to literals
2019-09-29 15:18:11 +02:00
Simon Binder
059fc69893
Fix lcov formatting
2019-09-29 14:39:20 +02:00
Simon Binder
5a0c0d9212
Use package:test_coverage for moor subproject
2019-09-29 11:27:35 +02:00
Simon Binder
234a96cd5e
Re-enable coverage for everything but moor_generator
2019-09-29 10:51:16 +02:00
Simon Binder
b684a7be69
Replace imports of test_api with test
2019-09-26 22:52:20 +02:00
Simon Binder
f6a5009380
Report errors when ORDER or LIMIT is used in compound stmt
2019-09-25 18:08:24 +02:00
Simon Binder
b62ed05a87
Make the lazy executor pass on the GeneratedDatabase
2019-09-20 20:46:54 +02:00
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
Simon Binder
3e290188dc
Use explicit pedantic dependency in moor
2019-08-22 13:46:43 +02:00
Simon Binder
e38719a194
Write changelogs, prepare release 1.7
2019-08-22 12:27:39 +02:00
Simon Binder
a2c7b14862
Introduce flag to generate private watch methods
2019-08-19 19:04:15 +02:00
Simon Binder
17aabbe446
Ensure BoolType maps null values correctly
...
Fixes #106
2019-08-19 16:16:34 +02:00
Simon Binder
b26baddd01
Fix some docs, make isOpen lookup faster
2019-08-17 18:25:56 +02:00
Simon Binder
8b28c957b8
Merge branch 'develop' into ffi
2019-08-16 15:20:41 +02:00
Simon Binder
cdb231e1ae
Update test case for custom queries
...
We now use an explicit index when expanding arrays
2019-08-16 15:08:07 +02:00
Simon Binder
4ce9e12c0e
Write copyWith methods in companion classes
...
Fixes #102
2019-08-16 15:01:03 +02:00
Simon Binder
7d89f12aa7
Use explicit indices for array parameters
2019-08-15 21:26:27 +02:00
Simon Binder
cd67773157
Document how using named() will not affect generated json
2019-08-13 09:11:03 +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
f4bd6828a9
Some more fixes on the analyzer
...
Sadly, the analyzer doesn't support custom file types yet,
so that's it for the moor analyzer plugin for now.
2019-07-31 18:05:54 +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
4e75cee785
Merge branch 'develop' into analyzer-plugin
2019-07-30 14:17:37 +02:00
Simon Binder
635b902352
Add test case without any additional constraints
2019-07-30 10:33:32 +02:00
Simon Binder
b1820ef5aa
Generate code to match default values for CREATE TABLE
2019-07-30 10:30:06 +02:00
Simon Binder
aa3706ae9d
Support table constraints in CREATE TABLE
2019-07-30 10:13:47 +02:00
Simon Binder
3819eae1e8
Merge branch 'develop' into analyzer-plugin
2019-07-29 18:08:21 +02:00
Simon Binder
b48970d9ef
Fixes related to the new dialects feature
2019-07-29 15:46:00 +02:00
Simon Binder
634b1adb72
Support includes on the @UseDao annotation as well
2019-07-29 15:19:58 +02:00
Simon Binder
e0a82b0e32
Finally generate table classes from sql
2019-07-29 14:22:39 +02:00
Simon Binder
5ddcd17c21
Scaffold the package layout of a future analyzer plugin
2019-07-29 10:27:50 +02:00
Simon Binder
7a9cafb02f
Deprecate diff utils, MoorAnimatedList
2019-07-28 14:45:36 +02:00
Simon Binder
7f79fd922b
Provide information about the sql dialect at runtime
2019-07-28 14:21:39 +02:00
Simon Binder
94a9b9e2bc
Document type converters feature
2019-07-28 13:44:25 +02:00
Simon Binder
7cddf6f5d7
Provide coverage upload token variable
2019-07-28 11:08:39 +02:00
Simon Binder
053d4280fc
Only format coverage once
2019-07-28 10:38:18 +02:00
Simon Binder
47a032c645
Move coverage uploading into same Cirrus task
2019-07-28 10:32:31 +02:00
Simon Binder
4c7874dd91
Test and coverage the sql parser
2019-07-28 09:49:14 +02:00
Simon Binder
b4cdcf0431
Support type converters in compiled custom statements
2019-07-28 00:02:17 +02:00
Simon Binder
dbda5dccc1
Cache type converters in static fields
2019-07-27 22:44:44 +02:00
Simon Binder
21956a6b48
Use variables instead of failing to write string literals
...
Fixes #88
2019-07-26 09:25:55 +02:00
Simon Binder
4bf58cb83b
API to close databases, integration test that saves data
2019-07-25 17:04:32 +02:00
Simon Binder
fdbffa47fc
Integration tests for the web backend
2019-07-24 23:32:45 +02:00
Simon Binder
05b84a21ef
Merge branch 'develop' into ffi
2019-07-24 22:14:46 +02:00
Simon Binder
a7395ba83d
Write integration tests, sort of run them in Flutter
2019-07-24 22:14:02 +02:00
Simon Binder
5f8ab42189
Start to work on MySQL example
2019-07-23 22:16:21 +02:00
Simon Binder
5b7ffb3dbf
Merge branch 'develop' into ffi
2019-07-23 09:36:11 +02:00
Simon Binder
e46a8d84d5
Fix failing transaction test
...
Not completing is excepted behavior now
2019-07-23 09:13:31 +02:00
Simon Binder
b3d381afe6
Rollback transactions when callback throws
...
Closes #83
2019-07-23 09:06:02 +02:00
Simon Binder
147499c1f7
Ability to rollback transactions
2019-07-23 08:49:51 +02:00
Simon Binder
e36fe84480
Merge branch 'develop' into ffi
...
# Conflicts:
# moor/lib/src/runtime/executor/helpers/engines.dart
# moor/lib/src/web/web_db.dart
2019-07-22 13:06:24 +02:00
Simon Binder
2ee548e5d8
Implement the web database with the new backends api
2019-07-22 12:47:18 +02:00
Simon Binder
56f8e447bd
Migrate VM database to use the new delegate api
2019-07-22 12:11:38 +02:00
Simon Binder
2500e5ff20
Merge branch 'develop' into ffi
...
# Conflicts:
# moor_flutter/lib/moor_flutter.dart
2019-07-22 11:32:07 +02:00
Simon Binder
48f87330d6
New API to create custom backends easier
...
Also ported the Flutter backend to that API
2019-07-22 11:30:39 +02:00
Simon Binder
4b9cd084b5
VM: transactions and before open callback
2019-07-20 22:55:27 +02:00
Simon Binder
eb0edb8ac0
Merge branch 'develop' into ffi
2019-07-20 22:32:53 +02:00
Simon Binder
37cba6971c
Attempt to fix coverage collection
2019-07-20 22:15:52 +02:00
Simon Binder
7229002383
Integration test for the Dart VM
2019-07-20 20:50:09 +02:00
Simon Binder
e9cba8d600
Type fixes for ffi
2019-07-20 19:30:47 +02:00
Simon Binder
e00f7bfa29
Use our own sqlite api instead of Dart example
2019-07-20 17:20:47 +02:00
Simon Binder
5dde293015
Start with primitive VM implementation
2019-07-20 11:56:56 +02:00
Simon Binder
35e6ed67df
Use new GeneratorSession for the writer
2019-07-20 10:18:41 +02:00
Simon Binder
c5e9e8cfc8
Start generator refactoring
...
Remove global shared state in favor of sessions that are only valid for a single build step.
2019-07-18 18:01:27 +02:00
Simon Binder
33f1732ad1
Update schema test to reflect custom column
2019-07-18 12:56:48 +02:00
Simon Binder
ff93af231c
Write correct mapping code for custom objects
2019-07-18 12:53:26 +02:00
Simon Binder
bf4d16add6
Write verification and to-sql mapping for custom columns
2019-07-18 12:21:10 +02:00
Simon Binder
c2bff3ae42
API and parser for custom types
2019-07-18 12:02:16 +02:00
Simon Binder
364570b0dc
More tests to verify behavior of cached streams
2019-07-12 21:23:28 +02:00
Simon Binder
3407c8e90e
Fix old stream references not emitting data
2019-07-12 20:50:09 +02:00
Simon Binder
f21021a6e9
Final preparations for the 1.6 release
...
Short summary of updates
- web support
- using zones to resolve the current transaction
- comparable date time values
- collate expressions
- many bug fixes
2019-07-12 10:52:42 +02:00
Simon Binder
f0e5ed9a87
Make tables implement equals and hashCode
...
Fixes #74
2019-07-11 22:02:46 +02:00
Simon Binder
256b91f03f
Emit cached data in a later microtask
2019-07-11 21:09:13 +02:00
Simon Binder
0e7ee6114b
Avoid writing duplicate mapping methods
2019-07-10 19:37:15 +02:00
Simon Binder
853e3acb4c
Migrate web example to moor 1.6
2019-07-10 19:22:55 +02:00
Simon Binder
91c455d077
Fix (and then, use) the binary encoding to persist data
2019-07-10 19:14:55 +02:00
Simon Binder
02a8dabd63
Fix crash when variables appear more than once
2019-07-10 18:25:18 +02:00
Simon Binder
df05e643e0
Migrate example to 1.6, update readme
2019-07-10 17:55:57 +02:00
Simon Binder
d01b5c750f
Fix order in limit expressions with comma
...
Fixes #73
2019-07-10 17:29:03 +02:00
Simon Binder
a96da09741
Merge pull request #70 from knaeckeKami/master
...
use .toString() instead of casting to String in StringType
2019-07-09 13:31:48 +02:00
Martin Kamleithner
0137b34d07
allow nullability in StringType
2019-07-09 13:23:28 +02:00
Martin Kamleithner
e7f37f5e93
use .toString() instead of casting to String in StringType
2019-07-09 12:51:37 +02:00
Simon Binder
aeb9b6ba41
Parse COLLATE expressions in the sql parser
...
For #67
2019-07-08 23:03:03 +02:00
Simon Binder
3f8fb97b6c
Provide Dart api for COLLATE expressions
...
For #67
2019-07-08 22:37:13 +02:00
Simon Binder
809f239ca3
Generate code for array variables in compiled statements
2019-07-07 16:04:55 +02:00
Simon Binder
08c5cfd1a8
Make the parameter for the transaction unnecessary
2019-07-07 13:03:15 +02:00
Simon Binder
da65f6e8a7
Merge branch 'web' into develop
2019-07-06 15:30:07 +02:00
Simon Binder
bebf6884c4
Document the web feature
2019-07-06 15:29:32 +02:00
Simon Binder
7d885f9298
Use local storage instead of indexeddb for versions
2019-07-06 11:00:26 +02:00
Simon Binder
97c068f0ba
Finish web prototype
2019-07-05 22:20:08 +02:00
Simon Binder
311a47c704
Create a real example for the web backend
2019-07-05 22:00:02 +02:00
Simon Binder
3b09d819f9
Make date time values comparable
...
Fixes #58
2019-07-05 18:47:29 +02:00
Simon Binder
c806a4a7b1
Delete custom test file again
...
We'll set up a proper testing architecture after the
migration to cirrus is complete
2019-07-05 11:07:33 +02:00
Simon Binder
306be497de
Also run tests on popular browsers
2019-07-05 10:22:33 +02:00
Simon Binder
54fb22d970
Transactions for the web backend
2019-07-05 09:17:46 +02:00
Simon Binder
1c423d9d7b
Extract sql.js wrapper into own file, batched statement
2019-07-05 08:02:00 +02:00
Simon Binder
544db67d17
Return the last insert id in the web backend
2019-07-05 08:02:00 +02:00
Simon Binder
0e6ed25cd5
Persist changes in web backend
2019-07-05 08:02:00 +02:00
Simon Binder
535c5ed871
Switch web implementation to sql.js
2019-07-05 08:01:59 +02:00
Simon Binder
4ee7e84e8c
Early insert tests
2019-07-05 08:01:59 +02:00
Simon Binder
65ccd49d9a
Some kind of select statements with result parsing
2019-07-05 08:01:59 +02:00
Simon Binder
e23e3ae424
First experiment on the web using AlaSLQ
2019-07-05 08:01:59 +02:00
Simon Binder
d98449407e
Don't always include identical streams
2019-07-05 07:58:23 +02:00
Simon Binder
01db5e2afc
Release moor version 1.5.1, sqlparser 0.1.1
2019-07-03 20:04:09 +02:00
Simon Binder
b9e9135ac3
Write "DEFAULT VALUES" in insert when appropriate
2019-07-02 22:42:49 +02:00
Simon Binder
59235783c3
Make query streams emit their last item for new listeners
2019-07-02 21:46:04 +02:00
Simon Binder
316f9e1052
Only resolve columns declared in scope of a statement
...
Fixes #52
2019-07-02 12:28:54 +02:00
Simon Binder
2487c64c08
RELEASE 1.5
...
- Analyzed custom queries
- Better callbacks
- Update companions
2019-07-01 22:24:38 +02:00
Simon Binder
3dddc6993a
Remove outdated todo entries
2019-07-01 21:37:08 +02:00
Simon Binder
44663d3648
Make `getSingle` and `watchSingle` return null when empty
...
Closes #47
2019-06-30 22:24:04 +02:00
Simon Binder
464754267e
Document new features for version 1.5
2019-06-30 22:16:58 +02:00
Simon Binder
f5492b8bcb
Generate code for update and delete statements
2019-06-30 19:34:54 +02:00
Simon Binder
f8834f0e15
More fluent api to define queries
2019-06-30 13:35:13 +02:00
Simon Binder
b4de942915
Write query engine override param for generated queries
...
This allows them to be used in transactions and post-
migration callbacks.
2019-06-30 13:09:07 +02:00
Simon Binder
53ea5835a8
For custom queries, use a matching data class if possible
2019-06-30 12:01:46 +02:00
Simon Binder
22f78589db
Support custom queries in daos
2019-06-29 15:51:23 +02:00
Simon Binder
53d57d6a96
Refactor generator: Extract common operations
2019-06-29 15:23:14 +02:00
Simon Binder
33682a0ad1
Write readsFrom field for custom queries
2019-06-29 14:04:01 +02:00