Simon Binder
|
0899980ffa
|
Fix tests in moor
|
2021-02-12 13:59:09 +01:00 |
Simon Binder
|
821a1009cf
|
Also format generated SQL for schema entities
|
2021-01-26 14:33:33 +01:00 |
Simon Binder
|
76e6d2d219
|
Fix whitespace handling in new SQL generator
|
2021-01-24 12:27:53 +01:00 |
Simon Binder
|
4ba12c4868
|
Strip whitespace and comments from generated queries
|
2021-01-23 21:03:03 +01:00 |
Simon Binder
|
6c1650151e
|
Run migrated tests in strong null safety
|
2021-01-20 12:50:21 +01:00 |
Simon Binder
|
5ff74c7bcb
|
Improve table analysis, parse key ordering (#1007)
|
2021-01-18 14:44:05 +01:00 |
Simon Binder
|
b8eed2f75b
|
Make order by placeholders optional (#998)
|
2021-01-08 22:30:17 +01:00 |
Simon Binder
|
5e8cd53bc6
|
Use handwritten mocks instead of generating them
|
2021-01-06 19:36:50 +01:00 |
Simon Binder
|
c47471a3db
|
Test for migrations on without rowid tables
|
2020-12-16 19:26:10 +01:00 |
Simon Binder
|
6aa022e547
|
Add nullability hints, generate nullable variables
|
2020-12-14 18:35:19 +01:00 |
Simon Binder
|
5db10342b0
|
Fix nnbd generation around type converters (#968)
|
2020-12-14 15:13:59 +01:00 |
Simon Binder
|
a749f38e2b
|
Make columns from LEFT OUTER joins nullable
|
2020-12-12 23:22:21 +01:00 |
Simon Binder
|
35d2d1fca8
|
Merge branch 'develop' into nnbd
# Conflicts:
# moor/test/data/tables/custom_tables.g.dart
|
2020-12-04 20:01:22 +01:00 |
Simon Binder
|
87d6e2ad31
|
Remove some usages of dynamic
|
2020-11-26 17:22:59 +01:00 |
Simon Binder
|
0c075a2b44
|
Support overriding column getters and table classes (#932)
|
2020-11-23 20:01:31 +01:00 |
Simon Binder
|
51e62d4e2f
|
Run tests with null assertions enabled
|
2020-11-22 17:40:53 +01:00 |
Simon Binder
|
0c9f3a3286
|
Fix tests for null safety
|
2020-11-19 18:10:43 +01:00 |
Simon Binder
|
01258d25ab
|
Fix nnbd code emitted by the generator
|
2020-11-19 14:06:51 +01:00 |
Simon Binder
|
aec69a357a
|
Migrate to generated mockito
|
2020-11-18 22:53:27 +01:00 |
Simon Binder
|
13056b0cf6
|
Migrate core libraries
|
2020-11-18 17:07:05 +01:00 |
Simon Binder
|
b2ef4ddbcf
|
Optionally generate named parameters (#918)
|
2020-11-16 17:03:22 +01:00 |
Simon Binder
|
d6a321ca3c
|
Add generate_values_in_copy_with build option (#795)
|
2020-09-01 13:34:02 +02:00 |
Simon Binder
|
2ae2388878
|
Support default values for Dart placeholders (#753)
|
2020-08-30 13:48:47 +02:00 |
Simon Binder
|
c2ce934361
|
Apply type converters on variables (#730)
|
2020-07-23 17:30:26 +02:00 |
Simon Binder
|
fa1e76f8f3
|
Option to get raw data in result sets (#615)
|
2020-07-09 17:38:46 +02:00 |
Simon Binder
|
2332c58742
|
Override toString in result classes (#676)
|
2020-07-02 19:59:41 +02:00 |
Simon Binder
|
34e827b0b5
|
Escape column names in primary key (#661)
|
2020-06-25 20:03:05 +02:00 |
Simon Binder
|
835e31c8ed
|
Add `this.` prefix to avoid name clashes (#613)
|
2020-06-03 19:07:53 +02:00 |
Till Friebe
|
1bab7f11d2
|
Add toString to companions
This is very useful for unit tests, because we can see directly what
values a companion has.
|
2020-05-28 18:52:32 +02:00 |
Simon Binder
|
9be0a9f79c
|
Fix result sets generating twice
|
2020-05-22 20:32:47 +02:00 |
Simon Binder
|
3955ae8eff
|
Generated code for custom table names
|
2020-05-21 20:42:50 +02:00 |
Simon Binder
|
8a98b42e62
|
Optimize row mapping when there is a matching table
|
2020-05-21 20:21:03 +02:00 |
Simon Binder
|
513881b13f
|
Always use a lambda for select mapping
|
2020-05-21 19:37:54 +02:00 |
Simon Binder
|
cf830165e1
|
Support enum converters for moor files, add documentation
|
2020-05-13 21:43:58 +02:00 |
Simon Binder
|
7b9fa3d9ed
|
Simplify generation of enum type converters
|
2020-05-13 20:16:20 +02:00 |
Simon Binder
|
0f2ff8c97a
|
Implicitly create type converters for enums, Dart api (#478)
|
2020-05-12 21:47:11 +02:00 |
Simon Binder
|
0af49dd6df
|
Bring back the toCompanion method for data classes (#257)
|
2020-05-08 20:53:58 +02:00 |
Simon Binder
|
a7ac6db55d
|
Support + and - operators on DateTime
|
2020-04-17 21:29:12 +02:00 |
Simon Binder
|
84bac1bf1d
|
Initial support for sql expressions in companions
|
2020-04-17 20:48:22 +02:00 |
Simon Binder
|
62a363105a
|
Refactor Insertables to avoid covariant parameters
|
2020-04-17 18:02:05 +02:00 |
Simon Binder
|
49f7dc059f
|
Test to ensure failing migration throws
|
2020-04-16 17:32:20 +02:00 |
Simon Binder
|
72e65611a7
|
Respect transitive imports when resolving moor converters
Might fix an error discovered in #482
|
2020-04-09 22:28:40 +02:00 |
Simon Binder
|
1340e9291c
|
Generate code for nested results (#288)
|
2020-04-03 21:31:27 +02:00 |
Simon Binder
|
dd74948e1a
|
Properly support transactions in migrations
|
2020-03-15 21:42: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
|
3002d87bcb
|
New tableUpdates stream method on QueryEngine (#394)
|
2020-03-04 22:43:41 +01:00 |
Simon Binder
|
b823f534c8
|
Write update kind for compiled update and delete queries
|
2020-03-04 21:28:08 +01:00 |
Simon Binder
|
b0b9a0ed47
|
Generate more accurate update rules for triggers
|
2020-03-04 20:59:03 +01:00 |
Simon Binder
|
0b0d5792fd
|
Allow more specific updates in stream queries
|
2020-03-04 20:28:31 +01:00 |
Simon Binder
|
545fbcc86a
|
Find and generate update rules during builds
|
2020-03-04 16:34:16 +01:00 |