Commit Graph

3480 Commits

Author SHA1 Message Date
ValentinVignal 707eb72b07
feat: Add option use_sql_column_name_as_json_key 2024-03-05 21:27:32 +08:00
Dave Hole ca0c70eac9 Add test to ensure that generated expressions support dialect-aware custom types 2024-03-05 11:47:25 +01:00
Dave Hole e4231571b8 Check for UserDefinedSqlType, not CustomSqlType
Variable is expecting UserDefinedSqlType and other packages (ElectricDart) implement UserDefinedSqlType instead of CustomSqlType, so these type checks are missed.
2024-03-05 11:47:25 +01:00
Luna 1e7af307a9 Fixes typo in migration.dart 2024-03-03 16:32:54 +01:00
Simon Binder 863dbb61a9
Avoid picking wrong import alias
Closes #2904
2024-02-29 18:08:51 +01:00
Simon Binder 98fd6a0ef0
Add recommended build options for drift postgres 2024-02-25 00:06:12 +01:00
Simon Binder 417c2c1207
Prepare release 2024-02-24 23:17:54 +01:00
Simon Binder f179fe30a0
Update dependencies in devtools extension 2024-02-24 23:14:27 +01:00
Simon Binder 54e205af51
Add integration tests for web migrations 2024-02-24 12:45:19 +01:00
Simon Binder d1d2b7ffe5
Add `Value.absentIfNull` 2024-02-24 12:20:09 +01:00
Simon Binder fe0df6d69c
Add substrExpr to query builder 2024-02-24 12:12:05 +01:00
Simon Binder f9d5443a8e
Migrate wasm internals to new interop 2024-02-22 17:23:57 +01:00
Simon Binder 27877a72e9 Clarify schema introspection update snippet 2024-02-21 10:49:36 +01:00
Simon Binder a26cc44aaf
Add example for reflective update 2024-02-19 22:16:19 +01:00
Simon Binder 4fa75cb30b
Fix new analysis warnings from Dart 3.3 2024-02-19 21:46:55 +01:00
Simon Binder d7a26a6a9a
Test variable bindings through isolate dialect
Regression test for #2894
2024-02-19 21:28:03 +01:00
Simon Binder 364450d26a
Add docs page on synchronization 2024-02-15 00:12:01 +01:00
Simon Binder 11a9b14572
Don't cache explain statements (#2464) 2024-02-13 22:53:00 +01:00
Simon Binder ae4d2d35f3
Remove moor reference from readme 2024-02-13 22:32:05 +01:00
Simon Binder 4eaeaab410
Fix typo in wasm docs 2024-02-13 22:31:56 +01:00
Simon Binder 2d00149cb9
Avoid iterating joined columns on every row 2024-02-12 22:30:08 +01:00
Simon Binder 30f30ba313
Don't include stack trace in devtools error UI 2024-02-12 22:01:32 +01:00
Simon Binder e1f7aa3be3
Fix crash in devtools schema validator (#2888) 2024-02-12 22:00:20 +01:00
Simon Binder fe578223af
Provide comparable expressions for pg time values 2024-02-10 00:33:04 +01:00
Simon Binder 326434cd45
Fix docs tests as well 2024-02-08 22:05:18 +01:00
Simon Binder dc595eb3a2
Fix schema tests
We don't support executors changing their dialect at runtime.
2024-02-08 21:58:30 +01:00
Simon Binder 4912bad292
Avoid async overhead for sync reads 2024-02-08 21:44:46 +01:00
Simon Binder 882aad1e65
Update docs on sqlcipher flutter libs 2024-02-07 22:29:09 +01:00
Simon Binder eb5ff82be1
Add sponsorship links to readme 2024-02-07 22:11:25 +01:00
Simon Binder bca94780f3
Add json group array and object to query builder 2024-02-06 23:10:56 +01:00
Simon Binder 2bc01adeaa
Support table function syntax for virtual tables
Closes #2877
2024-02-03 18:28:23 +01:00
Simon Binder 0877e761e4
Create stack trace across remote isolates 2024-02-03 17:09:33 +01:00
Simon Binder 7f7d2ab1b0
Run statements in correct context 2024-02-03 14:31:58 +01:00
Simon Binder 0ec19f4705
Block database after error in migration 2024-01-31 23:41:25 +01:00
Simon Binder af55bd0f92
Add multi-package example 2024-01-31 00:26:36 +01:00
Simon Binder b58e97f99c
Document how to existing databases on web 2024-01-30 22:49:38 +01:00
Simon Binder 3e894f9502 Document import/export notes for WAL databases 2024-01-28 11:56:15 +01:00
Sebastian 1a1f53f60d Avoid repeated allocations. 2024-01-23 23:04:21 +01:00
ValentinVignal 059108fff6 test: Update the tests 2024-01-22 14:11:39 +01:00
ValentinVignal b2054b947b fix: Fix error message for non nullable converter 2024-01-22 14:11:39 +01:00
Simon Binder 261c151fbf
Keep import aliases in generated code 2024-01-18 21:26:39 +01:00
Simon Binder 38d603c1c6
Prepare release 2024-01-17 23:02:49 +01:00
Simon Binder b6fbfdbab9
sqlparser support for jsonb 2024-01-17 22:39:55 +01:00
Simon Binder 8adb3bd903
Fix sqlite3 download link on windows 2024-01-17 18:25:51 +01:00
Simon Binder 2a2990e362
Support jsonb functions in query builder 2024-01-17 18:17:31 +01:00
Simon Binder c4169f6f91
Add timestamp with timezone type 2024-01-17 17:31:55 +01:00
Simon Binder f84407a8cb
Document content-type header for wasm files 2024-01-15 23:29:14 +01:00
Simon Binder a683408897
Add option to disable migrations 2024-01-13 12:14:29 +01:00
mori yuta b214f2c661
docs: add one-liner dependency addition instructions in the documentation (#2831)
Include one-liner dependency addition instructions in the documentation
2024-01-12 10:59:57 +01:00
Simon Binder f25eaf10f2
Support dialect-specific types 2024-01-10 23:29:27 +01:00