Commit Graph

162 Commits

Author SHA1 Message Date
Simon Binder e05e8fe07e
Add min, max and avg for date times (#1182) 2021-05-07 13:46:13 +02:00
Simon Binder 382ed71204
Add insertReturning 2021-05-06 18:19:01 +02:00
Simon Binder 885c63e66e
Merge branch 'stream-cancellations' into develop 2021-04-19 21:39:10 +02:00
Simon Binder 8d625cc13b
Initial documentation for custom row classes 2021-04-10 13:01:24 +02:00
Simon Binder 7885dd0a4f
Add changelog entry for custom row classes 2021-04-09 23:35:58 +02:00
Simon Binder 58fdda482f
Add caseMatch to build CASE WHEN 2021-04-04 21:37:32 +02:00
Simon Binder 2fa3b47235
Actually, don't cancel on the same isolate 2021-03-31 23:30:18 +02:00
Simon Binder edb219ecfe
Use Future.delayed in cancellation zones only 2021-03-31 23:10:07 +02:00
Simon Binder 04a8bb5694
Support cancellations across isolates 2021-03-31 22:55:35 +02:00
Simon Binder 401b4d3650
Fix reading nullable columns 2021-03-23 16:59:11 +01:00
Simon Binder 7d844d448f
Wrap rollback errors (#1052) 2021-03-18 16:58:12 +01:00
Simon Binder b3f573d8ed
Update stream for subqueries (#1095) 2021-03-13 10:41:36 +01:00
Simon Binder 13dd26631a
Add MoorWebStorage.volatile 2021-03-10 10:38:25 +01:00
Simon Binder 9bb2a24abf
Prepare 4.1 release 2021-02-20 22:03:34 +01:00
Simon Binder 6342dd56a9
Document subqueries 2021-02-20 11:01:20 +01:00
Simon Binder b0dbee585f
Add scalar subqueries, IS IN to Dart api 2021-02-16 17:26:44 +01:00
Simon Binder 2592a24d9e
Generalize isolate api to allow remote database access 2021-01-31 14:25:33 +01:00
Simon Binder 362b61a178
Add trim() function for text (#1012) 2021-01-21 20:16:42 +01:00
Simon Binder e07397006f
Remove SelectableUtils extension 2021-01-20 12:06:48 +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 ab105cf77f
Throw from TypedResult.read/readTable if there's no data 2021-01-06 12:59:09 +01:00
Simon Binder 603c9a20cc
Remove QueryEngine mixin 2021-01-03 17:04:33 +01:00
Simon Binder ec6dd36111
Remove dependency override for mockito 2020-12-22 19:45:15 +01:00
Simon Binder 36edcf0ed6
Make getSingle() and watchSingle() non-nullable 2020-12-14 20:22:27 +01:00
Simon Binder cf8215ecfe
Add Migrator.renameTable (#956) 2020-12-04 21:15:43 +01:00
Simon Binder 87d6e2ad31
Remove some usages of dynamic 2020-11-26 17:22:59 +01:00
Simon Binder 51e62d4e2f
Run tests with null assertions enabled 2020-11-22 17:40:53 +01:00
Simon Binder b2ef4ddbcf
Optionally generate named parameters (#918) 2020-11-16 17:03:22 +01:00
Simon Binder b9c007f782
Add VmDatabase.opened factory 2020-11-11 10:59:03 +01:00
Simon Binder 56d89b8676
Add extensions for isNull and isNotNull 2020-11-03 18:45:38 +01:00
Simon Binder ca4b2b7d8c
Use TEXT instead of VARCHAR (#886) 2020-10-23 19:29:08 +02:00
Simon Binder e29fcf93f7
Publish moor 3.4, sqlparser 0.11 2020-10-22 14:17:54 +02:00
Simon Binder ce37d15d2a
Generate nnbd code for inputs that have opted in 2020-10-17 14:31:04 +02:00
Simon Binder 9d9658248b
Add renameColumn method to migrator 2020-10-11 11:14:02 +02:00
Simon Binder f295af1398
Add closeExistingInstances api for #835 2020-09-30 15:39:02 +02:00
Simon Binder d2996af72e
Add cast function to query builder 2020-09-04 13:25:05 +02:00
Simon Binder a317bf253a
Begin with new api for complex table migrations 2020-09-04 13:13:26 +02:00
Simon Binder d6a321ca3c
Add generate_values_in_copy_with build option (#795) 2020-09-01 13:34:02 +02:00
Simon Binder 2ae2388878
Support default values for Dart placeholders (#753) 2020-08-30 13:48:47 +02:00
Simon Binder 0bc6f1368b
Add coalesce function (#780) 2020-08-21 20:59:55 +02:00
Simon Binder d0b13c43eb
Add groupConcat to Dart api (#763) 2020-08-15 09:53:50 +02:00
Simon Binder ffc01e4516
ffi: Create parent dir to avoid misuse errors (#731) 2020-08-14 21:57:49 +02:00
Simon Binder a2b28945d1
Add DatabaseConnection.delayed constructor 2020-08-13 21:09:26 +02:00
Simon Binder a037de6621
Support rowid resolution outside of selects
This fixes #754
2020-08-10 10:46:33 +02:00
Simon Binder 82e0ff4827
Allow changing the onData callback in query streams 2020-08-07 21:33:17 +02:00
Simon Binder c2ce934361
Apply type converters on variables (#730) 2020-07-23 17:30:26 +02:00
Simon Binder 3a558c3d1d
Prepare moor 3.2, moor_ffi 0.7 release 2020-06-28 17:27:32 +02:00
Simon Binder d881659db6
Support flags in regexp (#644) 2020-06-22 22:20:43 +02:00
Simon Binder b8335b1222
Mention custom result class names in changelog 2020-05-22 17:25:30 +02:00