Commit Graph

168 Commits

Author SHA1 Message Date
Simon Binder 0de1e43409
Add test 2023-07-06 21:45:38 +02:00
Simon Binder 342027b420
Update to stable sqlite3 package 2023-06-17 22:19:31 +02:00
Simon Binder 1e74aae972
Update new web documentation 2023-06-15 00:08:14 +02:00
Simon Binder fef35d9f20
Fix wasm integration tests 2023-06-13 17:22:18 +02:00
Simon Binder 7254d3bd5a
Add more wasm integration tests 2023-06-12 00:08:23 +02:00
Simon Binder e801dceae6
Add wasm integration test using the database 2023-06-11 17:44:04 +02:00
Simon Binder 3f178a154f
Add first integration test for new wasm backend 2023-06-10 22:52:22 +02:00
Simon Binder b01c8494e5
Rename old web test package 2023-06-10 18:01:25 +02:00
Simon Binder ec87791ece
Update v2 of the sqlite3 package 2023-06-04 22:10:11 +02:00
Simon Binder 28417c52af
Fix lints and warnings added in Dart 3.0 2023-05-12 22:42:21 +02:00
Simon Binder cc16156c84
Merge branch 'postgres3' into develop 2023-02-25 13:16:33 +01:00
Simon Binder 5166e5d294
Add rowid parameter to companions 2023-02-19 13:46:58 +01:00
Simon Binder 21ff422f19
Support `@create` queries in modular mode (#2313) 2023-02-12 12:44:47 +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 9cb82ed4dc
Fix broken docs for background platform channels 2023-02-07 12:48:29 +01:00
Simon Binder deb1b91d41
Escape postgres keywords in generated SQL 2023-02-05 14:28:19 +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
Alexander Wilde 91495e6f8d Rebuild 2022-12-31 03:33:54 +00:00
Simon Binder 4644bce9dd
Save database after `RETURNING` write (#2206) 2022-12-18 20:42:29 +01:00
Alexander Wilde 30cc4e0b21 Add join view test 2022-12-15 20:30:11 +00:00
Alexander Wilde ec01ad275a Various fixes for modular code gen 2022-12-05 17:16:06 +00:00
Alexander Wilde 5a6f402d86 Run build 2022-12-01 04:43:27 +00:00
Simon Binder 6512dc1cfc
Merge remote-tracking branch 'origin/develop' into modular-generation 2022-11-18 16:56:55 +01:00
Simon Binder 596a35b58e
Document basic analysis concept 2022-11-18 16:33:19 +01:00
Simon Binder d491db8599
Move dialect to SqlTypes constructor, re-generate 2022-11-07 15:53:16 +01:00
Abitofevrything 54b58948d3 Run melos run build 2022-11-05 20:35:24 +01:00
Abitofevrything 3ec04df46f Run melos run build 2022-10-29 14:36:50 +02:00
Simon Binder 28c90b6ffb
Always escape column names
This avoids the performance impact of using a regex in `escapeIfNeeded`.
Closes #2071.
2022-09-22 16:55:36 +02:00
Simon Binder 0fb9ba0a5c
Skip variable tests for postgres 2022-09-19 23:05:03 +02:00
Simon Binder 944725dafb
Generate null variables 2022-09-19 22:43:16 +02:00
Simon Binder 8e9e7fc291
Use melos to manage packages (#2060) 2022-09-15 23:42:20 +02:00
North101 a927d3717a
Typealiases and easier defaults for scoped components
Closes #1993.
2022-08-20 00:22:28 +02:00
Simon Binder 6b396fa067
Rename test file to have _test suffix 2022-08-16 16:33:55 +02:00
Simon Binder 83c7c1ab43
Remove deprecated options, re-run build 2022-08-13 15:14:09 +02:00
Simon Binder b9a605ed25
Allow async mappings from SQL to row classes
When existing, custom row classes are used, drift now supports using a
(potentially asynchronous) static method to load them instead of just
a named constructor like before.
Tables are also changed to support the `map` method being async for
cases where that is needed. The same applies to custom queries which
may have to be async now.
2022-08-12 22:55:02 +02:00
westito e65c4d15d0 Regenerate database files 2022-08-08 11:30:47 +02:00
Alexander Wilde 8fe2f24e56 Run tools/generate_all.sh 2022-07-21 18:00:03 +01:00
Simon Binder a8c6031fc4
Add documentation comments, fix analysis warnings 2022-07-19 23:01:22 +02:00
Simon Binder 22d5f0a8ae
Fix tests 2022-07-19 22:55:08 +02:00
Simon Binder cf8d2618fa
First attempt to get it running again 2022-07-18 23:28:12 +02:00
Simon Binder 116f98269d
Always enable the new SQL generation mode 2022-07-03 21:53:17 +02:00
Simon Binder 2cd77ad8a2
Merge pull request #1916 from simolus3/change-integration-tests-dialect
Change integration tests dialect
2022-07-02 18:11:50 +02:00
westito 56cb4c8926 Merge branch 'change-integration-tests-dialect' of github.com:simolus3/drift into change-integration-tests-dialect 2022-07-02 08:32:15 +02:00
westito 27f1305844 Update ios, macos projects 2022-07-02 08:31:17 +02:00
westito b4b7772d23
Update extras/integration_tests/drift_testcases/build.yaml
Co-authored-by: Simon Binder <oss@simonbinder.eu>
2022-07-02 08:30:49 +02:00
Simon Binder a064bb719d
Migrate remaining examples to null-safety 2022-07-01 21:51:33 +02:00
westito 02ad0e8250 Change integration tests' dialect to postgres 2022-06-30 19:04:55 +02:00