Commit Graph

3038 Commits

Author SHA1 Message Date
Simon Binder a6ef3958a5
Github actions workflow maintenance 2023-03-11 23:35:52 +01:00
Simon Binder c98dcc00e0
Upgrade to melos v3 2023-03-11 22:25:31 +01:00
Simon Binder 94744d54f3
Add documentation warning about defunct IDE 2023-03-11 22:16:39 +01:00
Simon Binder 18f3c2a933
Only serialize remote exceptions when needed 2023-03-07 20:41:28 +01:00
Simon Binder 94c915504d
Fix `computeWithDatabase` closing the original db 2023-03-06 22:11:02 +01:00
Simon Binder 23017f60e1
Improve docs for `computeWithDatabase` 2023-03-06 21:56:25 +01:00
Simon Binder d9498bdb9d
Remove experimental warning for modular mode 2023-03-06 21:30:50 +01:00
Simon Binder e91df496c8
Update dependencies for app example 2023-03-05 22:15:16 +01:00
Simon Binder 4db8f19a43
Support schema downgrades (#2336) 2023-03-03 21:24:00 +01:00
Simon Binder adc2e22c46
Ignore lints in generated schema code 2023-03-03 20:57:32 +01:00
Simon Binder cd83f81e2a
Merge pull request #2332 from gnprice/pr-migration-test-docs
Fix `schema generate` instruction for migration tests
2023-02-28 21:40:16 +01:00
Greg Price 3ab33227b7 Make explicit `schema generate` command for migration data tests
These flags are mentioned in the prose of this section, but it's
easy to miss them (or at least, I missed them) there and rely on
the `schema generate` command given in the previous section.
That one generates the expected files, but with this section's code
it leads to an error:

    Unsupported operation: TableInfo.map in schema verification code

because the generated code has a stub implementation of `map`.

Make it easier to spot the need for these flags by providing an
explicit complete command using them.
2023-02-28 11:34:13 -08:00
Simon Binder b137b4065e
Fix connection pool causing unhandled exceptions 2023-02-27 17:00:05 +01:00
Simon Binder 46390a2da5
Add `insertFromSelect` Dart API 2023-02-25 15:29:55 +01:00
Simon Binder 14fa80fd34
Fail CI if postgres tests fail 2023-02-25 13:18:33 +01:00
Simon Binder cc16156c84
Merge branch 'postgres3' into develop 2023-02-25 13:16:33 +01:00
Simon Binder 1c662ebb1a
Analysis support for sqlite 3.41.0 2023-02-22 23:05:17 +01:00
Simon Binder aee0585db0
Add test for #2321 2023-02-19 20:58:36 +01:00
Simon Binder 5166e5d294
Add rowid parameter to companions 2023-02-19 13:46:58 +01:00
Simon Binder 039ff942f7
Add docs on schema reflection 2023-02-17 18:21:52 +01:00
Simon Binder 99884c55ca
Merge pull request #2316 from FaFre/fix_nested_cte
fix parsing of nested cte's
2023-02-15 17:01:08 +01:00
Fabian Freund dc9a9e2db3 fix parsing of nested cte's 2023-02-15 10:18:26 +01:00
Simon Binder 21ff422f19
Support `@create` queries in modular mode (#2313) 2023-02-12 12:44:47 +01:00
Simon Binder a3ca208ded
Merge pull request #2308 from davidmartos96/pg_improvements
Remove hackyvariables from Postgres tests
2023-02-09 11:44:56 +01:00
David Martos d6edc787d8 nested transaction support in PgDatabase 2023-02-09 11:17:03 +01:00
David Martos bfed38b806 fix query from integration_tests to make it compatible across SQL Dialects 2023-02-09 11:02:35 +01:00
Simon Binder ca75323a6a
Fix postgres tests 2023-02-09 10:53:41 +01:00
David Martos fef15389e6 Remove hackyvariables from Postgres tests 2023-02-09 00:23:29 +01:00
Simon Binder c2c1b3c6ae
Merge `latest-release` into `develop` 2023-02-08 10:58:53 +01:00
Simon Binder ba9ddfd905
Release drift_dev 2.5.2 2023-02-08 10:56:29 +01:00
Simon Binder 6c39b0361b
Fix expected import for Uint8List in test 2023-02-08 10:55:46 +01:00
Simon Binder 067eb28da7
Fix blob columns with modular code generation (#2306) 2023-02-08 10:55:19 +01:00
Simon Binder e2136236d9
Improve error messages for keyword functions 2023-02-08 10:52:48 +01:00
Simon Binder d30d2a1212
Add backup/restore functionality to example app 2023-02-08 00:35:55 +01:00
Simon Binder fe95c89720
Use right method in selectOnly docs 2023-02-07 22:46:20 +01:00
Simon Binder 6b216c1683
Fix expected import for Uint8List in test 2023-02-07 22:38:33 +01:00
Simon Binder cd2cf1f3b3
Fix blob columns with modular code generation (#2306) 2023-02-07 22:27:53 +01:00
Simon Binder 9cb82ed4dc
Fix broken docs for background platform channels 2023-02-07 12:48:29 +01:00
Simon Binder 46887497bd
Explicitly return null 2023-02-05 16:47:56 +01:00
Simon Binder 929a554908
Add `insertReturningOrNull` (#2299) 2023-02-05 14:54:52 +01:00
Simon Binder deb1b91d41
Escape postgres keywords in generated SQL 2023-02-05 14:28:19 +01:00
Simon Binder ed964a7bf2
Fix passing variable types to postgres 2023-02-03 13:53:38 +01:00
Simon Binder 47dfdd5554
Migrate postgres implementation to v3 API 2023-02-01 23:02:55 +01:00
Simon Binder a97d70754a
Experiment with postgres v3 package 2023-02-01 22:44:12 +01:00
Simon Binder 94332a126f
Prepare to release drift_dev 2.5.1 2023-02-01 10:52:29 +01:00
Simon Binder ab10fd7f6f
Resolve columns sequentially 2023-02-01 10:50:20 +01:00
Simon Binder 3c06aeaa4d
Use Never instead of alwaysThrows 2023-01-31 22:58:53 +01:00
Simon Binder f9912d5455
Properly unify result classes with list columns 2023-01-31 22:58:30 +01:00
Simon Binder b935d27248
Add test for #2292 2023-01-31 22:25:58 +01:00
Simon Binder d35c8f07d4
Prepare drift_dev re-release 2023-01-30 08:58:59 +01:00