Commit Graph

648 Commits

Author SHA1 Message Date
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
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
Cervon Wong a491c74f9f
Update documentation to fix typos and improve phrasing 2020-12-01 17:18:54 +08:00
Simon Binder 472560684a
Improve documentation of withLength (#947) 2020-12-01 09:21:43 +01:00
Simon Binder 87d6e2ad31
Remove some usages of dynamic 2020-11-26 17:22:59 +01:00
Simon Binder 0259fd58fd
Support older versions of the convert package too 2020-11-26 16:59:06 +01:00
David Martos 439f36ca85 sqflite_sqlcipher nnbd version 2020-11-25 17:24:47 +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 e067b00375
Delete Cirrus CI files 2020-11-20 20:02:12 +01:00
Simon Binder 05feecf32c
Don't run isolate tests in GitHub actions 2020-11-20 19:36:03 +01:00
Simon Binder 8d6d1727fb
Setup CI in GitHub actions 2020-11-20 18:01:18 +01:00
Simon Binder d0a1ba04e2
Use right Dart binary for tests, ugh 2020-11-19 22:43:07 +01:00
Simon Binder c714ca54d4
Run moor tests individually 2020-11-19 22:22:18 +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 0ef7353df5
Setup CI with Dart 2.12 beta 2020-11-18 10:53:20 +01:00
Simon Binder 66a2cd0b09
Explain that autoIncrement and primaryKey are incompatible 2020-11-18 10:39:23 +01:00
Simon Binder b2ef4ddbcf
Optionally generate named parameters (#918) 2020-11-16 17:03:22 +01:00
Simon Binder 08470abd47
Fix VmDatabase.opened reporting wrong open status 2020-11-11 18:29:45 +01:00
Simon Binder 5ebc7a9040
Escape keywords with double instead of backticks 2020-11-11 18:22:59 +01:00
Simon Binder c7669a18a0
Fix more bugs in schema verification tests 2020-11-11 11:36:19 +01:00
Simon Binder b9c007f782
Add VmDatabase.opened factory 2020-11-11 10:59:03 +01:00
Simon Binder c6a6c9ac5a
Another tests for streams and migrations 2020-11-09 18:24:30 +01:00
Simon Binder 1f2dca0240
Add test to reproduce #910 2020-11-08 17:02:50 +01:00
Simon Binder 56d89b8676
Add extensions for isNull and isNotNull 2020-11-03 18:45:38 +01:00