Simon Binder
|
aa6fea6caa
|
Fix wrong double primary key on generated tables
|
2019-08-01 20:14:42 +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
|
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
|
4798d0a7e5
|
Parse specified tables from .moor files
|
2019-07-29 12:54:49 +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
|
37cba6971c
|
Attempt to fix coverage collection
|
2019-07-20 22:15:52 +02:00 |
Simon Binder
|
35e6ed67df
|
Use new GeneratorSession for the writer
|
2019-07-20 10:18:41 +02:00 |
Simon Binder
|
e6cf035ad2
|
Put dao parser in own file
|
2019-07-18 20:27:07 +02:00 |
Simon Binder
|
001de4dc79
|
Extract logic out of moor generator in some smaller files
|
2019-07-18 18:17:58 +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
|
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
|
0e7ee6114b
|
Avoid writing duplicate mapping methods
|
2019-07-10 19:37:15 +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
|
809f239ca3
|
Generate code for array variables in compiled statements
|
2019-07-07 16:04:55 +02:00 |
Simon Binder
|
2a51a04cc8
|
Remove usage of ParsedLibraryResultImpl.tmp
|
2019-07-05 18:36:05 +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
|
3dddc6993a
|
Remove outdated todo entries
|
2019-07-01 21:37:08 +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
|
ff530dd4ea
|
Improve documentation of the sqlparser library
|
2019-06-29 22:29:16 +02:00 |
Simon Binder
|
22f78589db
|
Support custom queries in daos
|
2019-06-29 15:51:23 +02:00 |
Simon Binder
|
1ea1c12592
|
Make the dao generator use the same logic as the main one
|
2019-06-29 15:43:41 +02:00 |
Simon Binder
|
7becfdcb85
|
Don't use the MoorGenerator as a god class
|
2019-06-29 15:34:27 +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 |
Simon Binder
|
d930664581
|
Escape strings before writing dart literals
|
2019-06-29 13:55:13 +02:00 |
Simon Binder
|
646987ad69
|
Correctly write variables in analyzed queries
|
2019-06-29 13:47:33 +02:00 |
Simon Binder
|
2a8edbde0d
|
Write implementation methods for queries
|
2019-06-29 11:23:06 +02:00 |
Simon Binder
|
40a4ebdadf
|
Started to integrate the sqlparser into moor generator
|
2019-06-28 23:41:27 +02:00 |
Simon Binder
|
1d36e3316d
|
Merge branch 'delightful-queries' into develop
|
2019-06-22 19:02:57 +02:00 |
Simon Binder
|
151c374bfe
|
Fix outdated use of Value.use() in generated code
|
2019-06-21 21:07:06 +02:00 |
Simon Binder
|
62c5106e7d
|
Migrate tests to companion
|
2019-06-21 20:29:42 +02:00 |
Simon Binder
|
0616fb7082
|
Migrate to update companions everywhere :)
|
2019-06-21 20:08:42 +02:00 |
Simon Binder
|
0abc3993f4
|
Fully migrate to new update companions
|
2019-06-21 19:48:18 +02:00 |
Simon Binder
|
eee11d53d3
|
Start to migrate verification logic with update companions
|
2019-06-21 10:48:42 +02:00 |
Simon Binder
|
ecf6740cb7
|
Constraints on type parameters for data classes
|
2019-06-21 10:27:14 +02:00 |
Simon Binder
|
6ac9109c0a
|
Fix dead code in generated update companions
|
2019-06-21 09:44:38 +02:00 |
Simon Binder
|
b79611e6e0
|
Backwards compatibility: Use DataClasses as companion
|
2019-06-21 09:42:42 +02:00 |
Simon Binder
|
ec2592203c
|
Generate update companions for data classes
|
2019-06-21 09:16:22 +02:00 |
Simon Binder
|
2a5ede1c04
|
Merge branch 'develop' into delightful-queries
|
2019-06-16 14:52:49 +02:00 |
Simon Binder
|
5fc921aefc
|
Provide detailed error messages for inconsistent data
|
2019-06-16 14:44:43 +02:00 |