Commit Graph

1528 Commits

Author SHA1 Message Date
Simon Binder 968af8f56e
Fix analysis for views with CTEs 2021-02-14 16:36:01 +01:00
Simon Binder 61d5b7897a
Upgrade dependencies where possible 2021-02-14 14:06:51 +01:00
Simon Binder 86f5acd982
Release moor_flutter version 4.0.0-nullsafety 2021-02-14 12:38:59 +01:00
Simon Binder 306b2f5d55
Merge pull request #1043 from HosseinYousefi/develop
added support for CREATE VIEW in .moor files
2021-02-12 14:10:21 +01:00
Simon Binder 0899980ffa
Fix tests in moor 2021-02-12 13:59:09 +01:00
Simon Binder 75f1032474
Fix tests in sqlparser 2021-02-12 13:55:34 +01:00
Hossein Yousefi c575a8f9f1 updating docs 2021-02-12 05:28:31 +01:00
Simon Binder c0865e51fb
Avoid analyzing unfinished views 2021-02-11 22:03:25 +01:00
Hossein Yousefi c0fc691a94 view analyzer class added 2021-02-11 18:38:41 +01:00
Hossein Yousefi bf813cf67b added a test that fails 2021-02-10 22:47:39 +01:00
Hossein Yousefi c9269e13be added support for CREATE VIEW in .moor files 2021-02-10 16:23:51 +01:00
Simon Binder 7a2c4e7f75
Avoid empty import 2021-02-03 21:02:33 +01:00
Simon Binder 20d9cdf0fd
Add web worker example 2021-01-31 21:50:12 +01:00
Simon Binder 449d1cb2d3
Transform Uint8List in new isolate implementation 2021-01-31 15:52:43 +01:00
Simon Binder 2592a24d9e
Generalize isolate api to allow remote database access 2021-01-31 14:25:33 +01:00
Simon Binder ca2be1bb6a
Add Dart default value to generated schema (#1018) 2021-01-27 22:10:34 +01:00
Simon Binder ef40045846
Don't require type parameters on Variable 2021-01-26 21:08:15 +01:00
Simon Binder 4394dceffc
Improve docs related to builders and alternatives 2021-01-26 20:47:27 +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 2da9175a27
Add example on existing databases 2021-01-23 17:21:47 +01:00
Simon Binder 7c26ed97c2
Mention explicitly-indexed variables 2021-01-21 20:22:05 +01:00
Simon Binder 362b61a178
Add trim() function for text (#1012) 2021-01-21 20:16:42 +01:00
Simon Binder 2e2d1b4e6d
Document custom sql statements with variables 2021-01-20 21:51:48 +01:00
Simon Binder 6c1650151e
Run migrated tests in strong null safety 2021-01-20 12:50:21 +01:00
Simon Binder 896d0f90c7
Migrate more tests to null safety 2021-01-20 12:30:59 +01:00
Simon Binder e07397006f
Remove SelectableUtils extension 2021-01-20 12:06:48 +01:00
Simon Binder 4940ed5be8
Fix broken sqlparser test 2021-01-18 19:24:47 +01:00
Simon Binder 4ffe29fe17
Mention readRowOrNull in docs and exception 2021-01-18 19:19:39 +01:00
Simon Binder a375caaa44
Add lint for duplicate PRIMARY KEY constraints 2021-01-18 15:11:46 +01:00
Simon Binder 5ff74c7bcb
Improve table analysis, parse key ordering (#1007) 2021-01-18 14:44:05 +01:00
Simon Binder 1ff10f47c2
Remove part files of parser 2021-01-18 11:15:31 +01:00
Simon Binder 4ad25b9cce
Merge pull request #1004 from kuhnroyal/fix/nnbd-converter
Fix converter data types when NNBD is off
2021-01-15 11:59:13 +01:00
Peter Leibiger d54936df91
Only add nullable suffix on converter types when NNBD is active 2021-01-15 11:32:53 +01:00
Simon Binder 4575287ba4
Avoid InconsistentAnalysisException in preprocess builder 2021-01-14 23:23:34 +01:00
Simon Binder 43f90b6a43
Improve error messages when the preparing builder fails 2021-01-14 19:33:00 +01:00
Simon Binder f5996cb957
Upgrade dependencies of moor_generator 2021-01-14 19:15:32 +01:00
Simon Binder e159a63990
Mention selectable extension 2021-01-14 17:31:39 +01:00
Simon Binder c5cbd1b62e
Release moor 4 preview to pub 2021-01-11 20:15:10 +01:00
Simon Binder 64fd91d2a8
Merge branch 'master' into develop 2021-01-11 19:57:04 +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 ab105cf77f
Throw from TypedResult.read/readTable if there's no data 2021-01-06 12:59:09 +01:00
Simon Binder caea8c8ec0
Merge pull request #994 from lsaudon/patch-1
Replace moor_migrations by moor_schemas
2021-01-06 12:24:09 +01:00
lsaudon 784bcdb137
Replace moor_migrations by moor_schemas 2021-01-06 10:43:46 +01:00
Simon Binder e97aa8bd09
Normalize some moor dependencies 2021-01-03 17:15:32 +01:00
Simon Binder ae7aa51ee3
Delete deprecated moor_ffi package 2021-01-03 17:05:15 +01:00
Simon Binder 603c9a20cc
Remove QueryEngine mixin 2021-01-03 17:04:33 +01:00
Simon Binder db72da0f07
Use new build apis to load results (#959) 2020-12-29 22:22:32 +01:00