Commit Graph

617 Commits

Author SHA1 Message Date
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 5d2149d727
Parse MAPPED BY constraints for moor files 2019-08-27 12:33:48 +02:00
Simon Binder aa13aad276
Introduce moor-specific tokens for type converters 2019-08-27 12:15:32 +02:00
Simon Binder 3612c78241
Introduce special token class for keywords 2019-08-27 11:54:56 +02:00
Simon Binder 4b0add64de
Provide better error messages at unknown tables 2019-08-26 22:26:38 +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 37672dad2d
Bump moor dependency in moor_generator 2019-08-26 15:30:51 +02:00
Simon Binder b1e6d931d5
Prepare release 1.7.1 2019-08-25 22:44:28 +02:00
Simon Binder 2b40272774
Explain how tables and columns are named in the docs 2019-08-24 19:04:00 +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 8bbfea305c
Drop support for analyzer versions <0.37.0
We use MethodInvocation#typeArgumentTypes, which was introduced in version 0.37.0
2019-08-23 22:37:29 +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 6dda9af1dc
Merge branch 'develop' into beta 2019-08-20 15:39:16 +02:00
Simon Binder d0e71d8bcd
Remove unused files from vm integration test 2019-08-20 15:38:30 +02:00
Simon Binder 367cc5cbb9
Merge branch 'develop' into beta 2019-08-20 15:36:38 +02:00
Simon Binder ff60b19805
Delete conflicting outputs when running the moor test 2019-08-20 12:21:54 +02:00
Simon Binder 26e28e9ddc
Fix AggregateExpression not reporting content equality 2019-08-19 20:51:10 +02:00
Simon Binder 420b1090cc
Don't run coverage on CI builds
We regularly run out of memory
2019-08-19 20:49:32 +02:00
Simon Binder fc2d98e07f
Document how to use the builder options 2019-08-19 20:02:57 +02:00
Simon Binder a2c7b14862
Introduce flag to generate private watch methods 2019-08-19 19:04:15 +02:00
Simon Binder e911e74af2
Support window declarations on select statements 2019-08-19 18:06:25 +02:00
Simon Binder 17aabbe446
Ensure BoolType maps null values correctly
Fixes #106
2019-08-19 16:16:34 +02:00
Simon Binder 40dafa1f2e
Briefly explain common classes in CONTRIBUTING file 2019-08-18 16:47:03 +02:00
Simon Binder ae47867c06
Write meta description tag in documentation 2019-08-18 11:35:08 +02:00
Simon Binder 8ea7404133
Update encrypted db to match moor_flutter features 2019-08-18 09:58:04 +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 4ca7e18027
Maybe the netlify.toml file must be top-level? 2019-08-17 21:31:30 +02:00
Simon Binder 6d209cbe99
Redirect netlify links to simonbinder.eu domain 2019-08-17 21:26:02 +02:00
Simon Binder e97efdf928
Support analyzer version 0.38 in the generator 2019-08-17 21:15:40 +02:00
Simon Binder b26baddd01
Fix some docs, make isOpen lookup faster 2019-08-17 18:25:56 +02:00
Simon Binder c1f6ee8723
Fix "getting started" link in faq section of the docs 2019-08-16 23:07:26 +02:00
Simon Binder 7ebd49a067
Merge branch 'develop' into beta 2019-08-16 16:30:41 +02:00
Simon Binder 925f80aa9f
Support creating databases from an asset 2019-08-16 15:38:13 +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 c7a0397fb6
Verify that generated queries don't skip indexes 2019-08-16 14:44:40 +02:00
Simon Binder 186757666f
Provide an example for n:m relationships with moor 2019-08-16 10:52:23 +02:00
Simon Binder 7d89f12aa7
Use explicit indices for array parameters 2019-08-15 21:26:27 +02:00
Simon Binder 7ba89c099f
Resolve and infer types for window expressions 2019-08-14 18:00:41 +02:00
Simon Binder 1d3d68fb54
Parse aggregate functions and window definitions 2019-08-13 14:11:13 +02:00
Simon Binder cd67773157
Document how using named() will not affect generated json 2019-08-13 09:11:03 +02:00