Commit Graph

557 Commits

Author SHA1 Message Date
Simon Binder 3824ae8a3d
Show correct annotation name in tables error 2023-09-16 17:35:44 +02:00
Simon Binder 909c01bc5d
Add await before return in restoreOrResolve 2023-09-16 13:26:43 +02:00
Simon Binder 8300782662 Fix cli test 2023-09-14 18:32:43 +02:00
Simon Binder d0b176e290 Add docs and changelog entries 2023-09-14 18:28:55 +02:00
Simon Binder 1958dd5cae Add tests for Dart index 2023-09-14 18:21:14 +02:00
Simon Binder 78b520f55d Generate code for Dart-defined index 2023-09-14 17:57:57 +02:00
Simon Binder f81e9d8c4b Write new index information into schema file 2023-09-14 17:31:18 +02:00
Simon Binder 93b9cc512d Analyze index annotations for tables 2023-09-14 15:37:21 +02:00
Simon Binder 0fd19ab576
Fix drift_dev tests 2023-09-10 22:46:50 +02:00
Simon Binder da0392c7ce
Update packages used in documentation 2023-09-10 22:19:41 +02:00
Simon Binder 71f839d9b6
Prepare drift_dev hotfix release 2023-09-07 17:24:57 +02:00
Simon Binder 79dda8668b
Resolve imports across exports 2023-09-03 22:34:40 +02:00
Simon Binder 043d41ee73
Remove docs references to connect constructor 2023-08-31 10:57:54 +02:00
Simon Binder 303d738749
Prepare 2.11.1 release 2023-08-27 17:11:04 +02:00
Nikita Dauhashei f408991ee7
fix test 2023-08-26 20:54:38 +02:00
Nikita Dauhashei 9575612840
fix code generation for `enum` with generic 2023-08-26 20:18:03 +02:00
Simon Binder 895ff52761 Add API for finegrained control for steps by steps 2023-08-19 22:39:38 +02:00
Simon Binder fe242e5a17 Support `timediff` and `octet_length` 2023-08-17 17:30:45 +02:00
Simon Binder d84767b93d Support references to builtin tables (#2567) 2023-08-17 00:15:36 +02:00
Simon Binder 9c21e17d91
Add import references to generated insertable 2023-08-13 18:59:31 +02:00
Simon Binder f8635469d4
Emit direct imports in preprocess step 2023-08-13 11:10:31 +02:00
Simon Binder 7f6e22b892
Avoid using `findLibraryByName` 2023-08-12 23:28:47 +02:00
Simon Binder fb0533c204
Consistently normalize URLs in CLI tool 2023-08-12 22:28:48 +02:00
Simon Binder 92dd82f49c
Restore cache on a per-element basis 2023-08-12 22:03:58 +02:00
Simon Binder 90d8fdc61a
Also optimize looking up Dart references 2023-08-12 14:51:49 +02:00
Simon Binder 788420b614
Avoid resolving all transitive imports in build 2023-08-12 14:35:16 +02:00
Simon Binder f857cb17b5
Prepare 2.11.0 release 2023-08-11 15:20:22 +02:00
Simon Binder 29ba50a0ca
Merge pull request #2521 from BananaMasterz/develop
adding support for MariaDB dialect
2023-08-03 17:49:57 +02:00
Simon Binder 1a4ac27415
Find variables reliably 2023-08-01 11:20:05 +02:00
Simon Binder 2cca2f517e
Desugar duplicate variables 2023-07-31 23:47:41 +02:00
Simon Binder 525ab27006
Add `preamble` builder option 2023-07-30 23:14:32 +02:00
Simon Binder 28e44cbea8
First support for MariaDB in compiled queries 2023-07-27 11:16:58 +02:00
Simon Binder 1c5432026c
Merge branch 'develop' into Banana-develop 2023-07-27 10:29:25 +02:00
Simon Binder 5e32e549ea
Add changelog entry for`dialects` option 2023-07-27 10:22:37 +02:00
Simon Binder 8d3f490604
Add multi-dialect generation option 2023-07-26 23:59:06 +02:00
Simon Binder 94c4c1a8e0
Document #2537 better 2023-07-25 23:24:08 +02:00
Simon Binder e433cff932
Update docs for nested columns 2023-07-24 21:10:04 +02:00
Simon Binder 5ed6115b0d
Fix outdated tests in drift_dev 2023-07-24 20:54:32 +02:00
Simon Binder 6a36957a85
Don't generate async mapping if not needed 2023-07-24 20:50:43 +02:00
Simon Binder 941409381b
Tests for generalized nested columns 2023-07-24 20:08:49 +02:00
BananaMasterz 78d6064634 introduce SqlDialect.escape DO NOT MERGE until Column.escapedName is fixed (currently hardcoded for mariadb) 2023-07-24 16:32:35 +03:00
Simon Binder 5b7e011021
Fix generation in drift package 2023-07-24 00:14:40 +02:00
Simon Binder 3f74d65e69
Support nested columns for any result set 2023-07-23 23:57:00 +02:00
BananaMasterz d2c3532c3f using backticks instead of double quotes to escape and adding bool check constraint for mariadb
DO NOT MERGE THIS since Column.escapedName is hardcoded for mariadb dialect!
2023-07-19 18:17:48 +03:00
BananaMasterz 192472201f auto increment support for MariaDB 2023-07-19 11:42:44 +03:00
Simon Binder 625eacf5f1
Add parseMultiple API to sqlparser (#2519) 2023-07-16 00:29:29 +02:00
Simon Binder d0db9ac02f
Prepare 2.10 drift release 2023-07-13 16:53:51 +02:00
Simon Binder b0946df3b7
Warn about implicitly added Dart tables 2023-07-05 20:51:30 +02:00
Simon Binder 312fa3219f
Add docs for step-by-step migrations 2023-07-01 18:11:41 +02:00
Simon Binder ed9aeb866a
Add step-by-step migration API 2023-07-01 16:41:22 +02:00