Commit Graph

3623 Commits

Author SHA1 Message Date
tibotix deaf58c5fb
Add/Update TestCases for all introduced changes 2023-11-17 01:49:37 +01:00
tibotix f282ead955
Allow RowValue to be used in SetComponent expressions 2023-11-17 01:48:27 +01:00
tibotix f128f05e1e
Add MultiColumnSetComponent to support column-name-list update syntax
This commit refactors the SetComponent into an abstract interface and introduces
two separate classes `SingleColumnSetComponent` and `MultiColumnSetComponent`, as
well as related methods such as `visitSingleColumnSetComponent` / `visitMultiColumnSetComponent`.
All Visitors were updated accordingly, and logic for parsing / type-resolving / linting were added
too. The only thing missing is type-resolving for the case where rowValue is of type SubQuery,
i.e.

`UPDATE demo SET (a,b)=(SELECT 2,3)`.
2023-11-17 01:42:39 +01:00
Simon Binder 0b537b50c1
Reformat 2023-11-16 21:30:41 +01:00
Simon Binder 220c7125a3
Update to lints 3.0.0 2023-11-16 21:25:21 +01:00
Simon Binder 0a457e92e5
Fix dartdoc templates 2023-11-16 21:19:37 +01:00
Simon Binder 407a40fae1
Add example with upsert conflict target to docs 2023-11-16 21:16:51 +01:00
Simon Binder 2ac81ddb99
Remove beta label from postgres docs 2023-11-15 17:15:50 +01:00
Simon Binder e19de7ce0a
Update to postgres 3.0.0 2023-11-15 11:35:45 +01:00
Simon Binder 1daf21280a
Merge branch 'backport-custom-types-fix' into develop 2023-11-11 21:28:47 +01:00
Simon Binder fd260edaa3
Fix order of arguments when reading custom types 2023-11-11 21:23:53 +01:00
Simon Binder 350726417d
Hide internal member 2023-11-11 21:14:48 +01:00
Simon Binder a9379a85b1
Validate schema in DevTools extension 2023-11-11 21:13:50 +01:00
Simon Binder f9012fc05c
Add `count()` as a utility extension 2023-11-10 21:12:02 +01:00
Simon Binder e79124e5af
Fix order of arguments when reading custom types 2023-11-09 19:03:32 +01:00
Simon Binder d770c16d8d
Fix warnings about missing imports 2023-11-08 22:11:28 +01:00
Simon Binder b096e84fd4
Add interceptor example to docs 2023-11-07 23:42:59 +01:00
Simon Binder 446832c341
Add query interceptor API 2023-11-07 23:42:59 +01:00
Erlang Parasu de7e1ce381 Update custom_row_classes.md: fix typo 2023-11-07 14:47:03 +01:00
Simon Binder 13d64a955a
Mention CRDT projects on community page 2023-11-07 14:40:52 +01:00
Simon Binder ce554a02e5
Don't resolve dependencies for deleted plugin 2023-11-05 19:20:33 +01:00
Simon Binder 50487ad317
Prepare patch release 2023-11-05 19:12:46 +01:00
Simon Binder f57afb0d27
Delete analyzer plugin to avoid warnings
The plugin is not working at the moment, so there's no point in having
the entrypoint around either.
2023-11-05 19:11:30 +01:00
brunobnahorny 5426ad8a40 test runBatched with the default executor 2023-11-05 18:52:09 +01:00
Bruno Bee Nahorny 398299e6e3 Fix integer nullable cast in protocol serializer
Since the class ExecuteBatchedStatement accepts nullable executorId it looks like it should cast to nullable int.

It occours using Isolate from multiple Flutter engines.
2023-11-05 18:52:09 +01:00
Simon Friis Vindum 0b0a721164 Fix grammar mistakes in documentation 2023-11-01 17:46:55 +01:00
Simon Binder f043e2997a
Set up automated publishing for drift_postgres 2023-10-31 22:16:54 +01:00
Simon Binder 7106dfc519
Update to postgres 3.0 beta 2023-10-31 22:10:51 +01:00
Simon Binder ddc864a7c2
Prepare drift_dev and sqlparser release 2023-10-29 19:32:23 +01:00
Simon Binder a4938abb19
Also apply temp directory workaround on iOS 2023-10-25 22:19:04 +02:00
Simon Binder ca4e376c8b
Fix invalid snippet on website (closes #2698) 2023-10-25 22:17:32 +02:00
Simon Binder 0973aa982c
Don't use invalid nullable converter fields 2023-10-25 22:09:39 +02:00
Simon Binder 222dc3063e
sqlparser: Support new SQL functions 2023-10-24 22:56:12 +02:00
Simon Binder 559cf986a1
sqlparser: Support `ORDER BY` in functions 2023-10-24 22:32:39 +02:00
Simon Binder 8077c564d7
Highlight Android workarounds more 2023-10-24 21:14:57 +02:00
Simon Binder ca84c194bd
Add shared analyzer option (closes #2688) 2023-10-23 18:35:29 +02:00
Abass Sesay 2098e76dd5 Pending changes exported from your codespace 2023-10-22 20:48:29 +00:00
Abass Sesay 91781fa20f Initial commit 2023-10-22 20:48:28 +00:00
Simon Binder bf8dff0887 Add changelog entry for sum change 2023-10-22 12:38:31 +02:00
Simon Binder 86c071a965 Re-run build 2023-10-22 12:33:10 +02:00
Simon Binder d70de95382 Make `sum()` nullable 2023-10-22 12:33:03 +02:00
Simon Binder 61bd7f5ec2 Fix postgres tests 2023-10-22 00:36:07 +02:00
Simon Binder 0e69252406 Prepare for v3 version of pkg:postgres 2023-10-22 00:09:19 +02:00
Simon Binder e12e8fdbc9
Use preferred import for drift postgres 2023-10-20 12:12:08 +02:00
Simon Binder 7c91ced9b2
Prepare to publish drift postgres 2023-10-20 12:04:14 +02:00
Simon Binder 0e44b22b8f
Add stability node to drift_postgres 2023-10-20 11:58:25 +02:00
Simon Binder c854f2267d
Set drift version number to `2.13.0`. 2023-10-20 11:36:25 +02:00
Simon Binder fe1606104e
Add `-f` to `pub lish` in script 2023-10-20 11:21:43 +02:00
Simon Binder e72ef05d53
Prepare 2.13 release 2023-10-20 11:05:09 +02:00
Simon Binder 36db7fd066
Prepare auto-publishing 2023-10-19 23:23:36 +02:00