Commit Graph

253 Commits

Author SHA1 Message Date
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 cbca76e7e1
Update drift dependency for drift_postgres
Closes #2114
2022-10-29 12:03:52 +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
Simon Binder 3583c4b467
Encrypted drift: Add path to main dependencies 2022-08-25 21:17:07 +02:00
Simon Binder 03642dd7eb
Run integration tests on encryption package 2022-08-22 11:53:10 +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 a89cef5262
Delete old moor packages 2022-08-14 22:57:37 +02:00
Simon Binder 503daf77e9
Migrate old encryption package to drift 2022-08-14 22:36:22 +02:00
Simon Binder 8f6878292a
Migrate to `package:lints` 2022-08-13 23:33:05 +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 fb0a6504da
Document how to run postgres test 2022-07-02 20:48:51 +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
westito aa1d279b8e Update build config in testcases 2022-06-28 15:06:49 +02:00
westito 292da80167 Regenerate all files 2022-06-28 13:24:57 +02:00
Simon Binder 4959ec6235
Fix wasm and postgres integration tests 2022-06-25 15:07:01 +02:00
Simon Binder e109cf3564
Update integration test architecture 2022-06-25 14:06:56 +02:00
Simon Binder 48830b57aa
drift_sqflite: Support nested transactions 2022-06-25 13:10:02 +02:00
Alexander Wilde 345faa91c7 TypeConverter mapToDart -> fromSql, mapToSql -> toSql 2022-06-22 23:50:19 +01:00
Simon Binder 06af930941
Explicit null-aware types on type converters 2022-06-22 23:56:15 +02:00
Simon Binder 26d9e79559
Fix more transaction error edge-cases (#1882) 2022-06-08 18:23:20 +02:00
Simon Binder dc2511c808
Open transaction callback in right zone (#1881) 2022-06-07 00:24:38 +02:00
westito a1f5ede720
Add BigInt support to PgDatabase (#1845)
Add BigInt support to PgDatabase
2022-05-20 10:09:17 +02:00
Simon Binder befe3f33ef
Merge pull request #1835 from simolus3/bigint-support
Add BigInt support
2022-05-16 18:34:38 +02:00
Radomir Epur ef695c682e
docs: fix typo in git path(dirft -> drift) (#1838) 2022-05-16 16:22:33 +02:00
Simon Binder 15184110f4
Remove compatibility check 2022-05-16 15:59:11 +02:00
westito 7330cf5d58 Add BigInt support to executors 2022-05-12 17:57:56 +02:00
Simon Binder 9e2e9c47be
Upgrade to latest `sqlite3` package in example app 2022-05-04 20:41:15 +02:00
Simon Binder b56cf96b09
Run drift web tests with WebAssembly 2022-04-04 21:49:05 +02:00
westito ff1912fc07 Merge remote-tracking branch 'simolus3/develop' into unique-constraint
# Conflicts:
#	drift/lib/src/ffi/database.dart
2022-04-02 20:13:44 +02:00
westito 171cf88aac Regenerate all test code 2022-04-02 20:11:40 +02:00