Commit Graph

675 Commits

Author SHA1 Message Date
David Martos fb919eeedb Fixes join when adding columns to "regular" select 2021-02-17 19:58:57 +01:00
David Martos 14aff60dfd Code review changes 2021-02-17 14:59:28 +01:00
David Martos c6902bbadc rename 2021-02-17 09:57:35 +01:00
David Martos 3f2c2ec1a4 merge with upstream 2021-02-17 09:55:35 +01:00
David Martos 49c251de7d Merge remote-tracking branch 'origin/develop' into subquery 2021-02-17 09:46:10 +01:00
Simon Binder 510fb829fe
Oops, wrong annotation 2021-02-16 17:38:10 +01:00
Simon Binder b0dbee585f
Add scalar subqueries, IS IN to Dart api 2021-02-16 17:26:44 +01:00
David Martos a277aebd15 subquery class 2021-02-16 12:47:13 +01:00
David Martos a270530d05 exists expression 2021-02-16 11:59:55 +01:00
Simon Binder b0887a9fec
Inline usages of package:synchronized
Future-chaining is cheap and gets the job done. Since
the synchronized package is holding back a stable null-
safety release and only has a single use in moor, we can
drop that package in favor of a simpler implementation.
2021-02-15 18:20:55 +01:00
Simon Binder 61d5b7897a
Upgrade dependencies where possible 2021-02-14 14:06:51 +01:00
Simon Binder 0899980ffa
Fix tests in moor 2021-02-12 13:59:09 +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 ef40045846
Don't require type parameters on Variable 2021-01-26 21:08:15 +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 362b61a178
Add trim() function for text (#1012) 2021-01-21 20:16:42 +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 4ffe29fe17
Mention readRowOrNull in docs and exception 2021-01-18 19:19:39 +01:00
Simon Binder 5ff74c7bcb
Improve table analysis, parse key ordering (#1007) 2021-01-18 14:44:05 +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 e97aa8bd09
Normalize some moor dependencies 2021-01-03 17:15:32 +01:00
Simon Binder 603c9a20cc
Remove QueryEngine mixin 2021-01-03 17:04:33 +01:00
Cervon Wong de8c6dff0f
Update columns.dart to fix typo in doc comments
Not sure which word is meant to be used, but fixed up the phrasing to make it sound better.
2020-12-27 10:38:10 +08:00
Simon Binder ec6dd36111
Remove dependency override for mockito 2020-12-22 19:45:15 +01:00
CDDelta 13fcc75b1c fallback indexedDbIfSupported in private mode on FF 2020-12-22 20:44:17 +11:00
Simon Binder c47471a3db
Test for migrations on without rowid tables 2020-12-16 19:26:10 +01:00
Simon Binder 36edcf0ed6
Make getSingle() and watchSingle() non-nullable 2020-12-14 20:22:27 +01:00
Simon Binder d9cf6660ec
Allow Expression<bool?> in more places 2020-12-14 19:43:32 +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 5dde4ad616
Fix git references in pubspec 2020-12-12 21:36:41 +01:00
Simon Binder 5401a4c80a
Publish dev packages to simonbinder.eu 2020-12-10 15:19:02 +01:00
Simon Binder 1edcc634b1
Fix bug with VmDatabase.opened 2020-12-07 22:03:55 +01:00
Simon Binder 42ba773422
Consequently upgrade dev version to 4.0.0 2020-12-07 21:30:15 +01:00
Yurii Cherniavskyi f559212c11 Fix UseDao class doc comments typo 2020-12-04 23:56:42 +02:00
Simon Binder cf8215ecfe
Add Migrator.renameTable (#956) 2020-12-04 21:15:43 +01:00