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
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
Paulis Gributs
1c282afe4f
Fix sqlparser error
...
SQL parser is set to a non-existent version in the publication specification and prevents drift_dev 2.5.0 from being used.
2023-01-29 17:58:49 +00:00
Simon Binder
e42dd9155e
Prepare 2.5.0 release
2023-01-29 16:25:20 +01:00
Simon Binder
4bd5192e46
Improve documentation for isolates
2023-01-29 16:13:20 +01:00
Simon Binder
28f31d183e
Remove connect constructor in migration example
2023-01-28 19:33:34 +01:00
Simon Binder
782301bb6c
Add APIs to share any database across isolates
2023-01-28 19:25:46 +01:00
Simon Binder
0d354b3bec
Deprecate special connect constructor
2023-01-28 16:53:35 +01:00
Simon Binder
83fad8426e
Make `generate_connect_constructor` the default
2023-01-28 16:14:27 +01:00
Simon Binder
bff8d6c6a1
Fix nullability issues around record types
2023-01-27 17:12:49 +01:00
Simon Binder
ba2a0280d3
Add `all()` extension to load all rows
2023-01-27 16:58:54 +01:00
Simon Binder
592a96bf7e
Remove default options from app example
2023-01-27 16:45:00 +01:00
Simon Binder
fe8611c5f4
Avoid unecessary async in lambda
2023-01-27 16:30:05 +01:00