Commit Graph

3623 Commits

Author SHA1 Message Date
Moshe Dicker 9f2f4522ee add update 2024-04-01 21:50:50 -04:00
Moshe Dicker 276319e3ab streamline! 2024-04-01 21:04:14 -04:00
Moshe Dicker ce3e4e2b70 df 2024-04-01 20:36:23 -04:00
Moshe Dicker 4b3dd99a0a sd 2024-04-01 20:08:41 -04:00
Moshe Dicker de56ca033a simplify 2024-04-01 16:55:31 -04:00
Moshe Dicker 443d48c43a sim 2024-04-01 16:48:14 -04:00
Moshe Dicker f9407945ba pos 2024-04-01 16:05:39 -04:00
Moshe Dicker 42f32e0227 Refactor 2024-04-01 15:50:21 -04:00
Moshe Dicker 16db7abf79 Add create and bulk create 2024-04-01 13:39:17 -04:00
Moshe Dicker e4cc10d7c9 add duplicate checker 2024-04-01 10:36:51 -04:00
Moshe Dicker 2d470dc660 Refoactor Builder 2024-04-01 10:18:51 -04:00
Moshe Dicker c7f310e46f Refactor Generation 2024-04-01 01:42:21 -04:00
Moshe Dicker 76fea2ac28 Add delete 2024-04-01 01:20:36 -04:00
Moshe Dicker 21d841de63 Refacotr select 2024-04-01 01:13:43 -04:00
Moshe Dicker 77a5384b3a fix naming 2024-03-31 23:43:43 -04:00
Moshe Dicker 45eb1b992a Stuff 2024-03-31 18:23:29 -04:00
Moshe Dicker fbd39a0d0a Add backref support 2024-03-31 01:26:15 -04:00
Moshe Dicker 5875e18458 remove join from composer state 2024-03-31 00:19:44 -04:00
Moshe Dicker 04c07a980a fix names 2024-03-29 17:31:26 -04:00
Moshe Dicker c22935cd7a add filters for custom objects 2024-03-29 11:55:18 -04:00
Moshe Dicker 83b04e7073 order typo 2024-03-29 11:44:56 -04:00
Moshe Dicker 7ed6ac5735 Hide some exports - Add manager to Database 2024-03-29 11:08:28 -04:00
Moshe Dicker 46953c3a73 Refactor ordering - Add better Docs 2024-03-29 10:44:59 -04:00
Moshe Dicker 1da0664c08 Initial Manager Commit 2024-03-29 02:20:58 -04:00
Simon Binder fc7e2ab1e6 Add utility for extension type converters 2024-03-24 14:58:58 +01:00
Simon Binder e1bdc6bde5 Fix missing commas between type arguments 2024-03-24 14:37:27 +01:00
Jeremiah Ogbomo ae40dd6d81
Improve check for if postgres session is still open (#2928) 2024-03-22 19:43:09 +01:00
Simon Binder 044a0f3980
Allow disabling conflict target (#2925) 2024-03-20 22:47:24 +01:00
Simon Binder 7c0c52cdfe
Apply serialization encoding to result values 2024-03-20 22:27:09 +01:00
Simon Binder e90c3c33a6
Add clarifying comment to partial database class 2024-03-14 18:55:38 +01:00
Stefano La Terra c231d25e59 Update select.md
Fix small typo in description
2024-03-09 12:56:26 +01:00
Simon Binder 29303100b8
Support custom names for drift views 2024-03-08 18:14:48 +01:00
Simon Binder 78a05fdf0b
Merge pull request #2913 from ValentinVignal/drift-dev/name-the-companion-class
feat: Allow to name companion classes
2024-03-07 21:37:21 +01:00
ValentinVignal 304d3adafd
refactor: Make enforcedName nullable 2024-03-07 10:22:02 +08:00
ValentinVignal ef274c1ac2
docs: Update changelog 2024-03-07 09:57:09 +08:00
ValentinVignal 27488cf301
docs: Remove unrelated macro 2024-03-07 09:54:54 +08:00
ValentinVignal 113a693403
Merge remote-tracking branch 'upstream/develop' into drift-dev/name-the-companion-class
# Conflicts:
#	drift_dev/test/writer/data_class_writer_test.dart
2024-03-07 09:54:05 +08:00
ValentinVignal 6b1f54d647
test: Add a test with a custom companion name and a default data name 2024-03-07 09:52:57 +08:00
Simon Binder 914763b47a
Document sql column name builder option 2024-03-06 20:56:03 +01:00
Simon Binder 06852f0ec8
Merge pull request #2910 from ValentinVignal/drift-dev/Add-use_sql_column_name_as_json_key
feat: Add option `use_sql_column_name_as_json_key`
2024-03-06 20:52:08 +01:00
ValentinVignal d0ff1f29d6
test: Add a test with overridden companion classes 2024-03-06 21:00:26 +08:00
ValentinVignal d768ceeb1a
feat: Name companion class 2024-03-06 21:00:13 +08:00
ValentinVignal be70907e81
test: Add tests 2024-03-06 20:43:14 +08:00
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