Commit Graph

642 Commits

Author SHA1 Message Date
westito 810d9f03a5 Modify DSL view to accept expression instead of column 2021-11-27 18:22:04 +01:00
westito a6bd75d780 fix post-merge issues 2021-11-26 14:15:54 +01:00
westito 72260196be Merge remote-tracking branch 'simolus3/develop' into views
# Conflicts:
#	drift_dev/lib/src/writer/tables/data_class_writer.dart
2021-11-26 14:10:10 +01:00
boyan b5d32ee21a fix unknown function cause crash 2021-11-26 13:08:26 +08:00
Simon Binder 49d21d2796
Merge pull request #1559 from westito/null_aware_type_converters
Add null aware type converter option
2021-11-25 21:40:22 +01:00
westito 9359defcac Add null aware type converters option 2021-11-24 23:49:13 +01:00
Simon Binder a00869a62b
Migrate .moor.dart files (#1558) 2021-11-24 23:11:59 +01:00
westito ea78584793 Merge remote-tracking branch 'simolus3/develop' into views 2021-11-24 19:06:31 +01:00
Simon Binder 214fbe2409
Don't crash for unknown column in PK 2021-11-19 15:43:50 +01:00
westito 876f6850f5 Add dsl view generator 2021-11-15 00:15:53 +01:00
westito ea6dc02964 Refactor drift views 2021-11-13 12:27:07 +01:00
westito 70bcefdaf3 Rename View to ViewInfo 2021-11-12 19:38:45 +01:00
westito fad654a5aa
PostgreSQL support (#1507)
Support PostgreSQL as a dialect in the main package and with an implementation provided in another package.

Co-authored-by: Simon Binder <oss@simonbinder.eu>
2021-11-11 14:40:41 +01:00
Simon Binder f2d0864890
Support generated columns in the parser 2021-11-07 22:10:08 +01:00
Simon Binder 3469bade62
Initial support for generated columns 2021-11-07 21:20:12 +01:00
Simon Binder 38a8ad136f
Merge pull request #1492 from westito/generate_tocompanion
Add 'toCompanion' generator for custom row classes
2021-10-20 23:39:18 +02:00
westito 40f4c1bd1f Rewrite toCompanion to insertable 2021-10-20 16:58:27 +02:00
Simon Binder 6bcb0070b0
Write explicitly inxed variables in new code 2021-10-19 18:15:53 +02:00
westito a5e4a7851e Remove named function requirements, fix name matching, update test 2021-10-19 15:58:39 +02:00
westito 9b4f25718d Moved generateToCompanion option to ExistingRowClass 2021-10-19 09:30:57 +02:00
westito 610acfad61
Apply suggestions from code review
Co-authored-by: Simon Binder <oss@simonbinder.eu>
2021-10-19 09:14:31 +02:00
westito b8fb002c41 Change toCompanion generator builder option to @UseRowClass parameter 2021-10-18 15:17:12 +02:00
westito 958302c253 Add custom row class toCompanion generator 2021-10-17 20:09:53 +02:00
Simon Binder 4eb430c42f
Support foreign key references in Dart tables 2021-10-17 12:21:32 +02:00
Simon Binder 849b0de040
Accept drift-named schema files 2021-10-14 21:44:44 +02:00
Simon Binder b574cb0b03
Prepare to release moor 4.6.1, drift_dev 1.0.2 2021-10-13 22:08:38 +02:00
Simon Binder 662b9d5721
Fix analysis plugin for moor, migrate options 2021-10-12 17:36:10 +02:00
Simon Binder 7d41e42c78
Prepare moor 4.6.0 release 2021-10-12 14:26:53 +02:00
Simon Binder c2bd6f27a5
Prepare a round of releases 2021-10-11 15:55:01 +02:00
Simon Binder bb5f08f90f
Also add plugin to drift 2021-10-11 10:25:50 +02:00
Simon Binder 331d600df3
Fix resolving Dart code in drift files 2021-10-10 22:01:59 +02:00
Simon Binder 348ac2e910
Add boilerplate files to new drift packages 2021-10-10 21:18:27 +02:00
Simon Binder e91207e9e4
Start preparing the documentation for the new name 2021-10-09 21:43:30 +02:00
Simon Binder aa8e3f7781
Migrate built_value example 2021-10-09 17:55:21 +02:00
Simon Binder cc99b1372a
Migrate migration example to drift 2021-10-09 17:10:34 +02:00
Simon Binder dc5055f585
Improve UX of migrator 2021-10-09 16:30:46 +02:00
Simon Binder cfbea9fd57
Migrate web workers example to drift 2021-10-08 23:33:39 +02:00
Simon Binder aa7a88172d
Fix generation for builds through moor_generator 2021-10-08 23:15:37 +02:00
Simon Binder 7358f545ac
Fix tests and generation in drift package 2021-10-08 22:40:58 +02:00
Simon Binder 3a56de1830
Fix imports in drift_dev 2021-10-08 22:01:18 +02:00
Simon Binder 2219a15e5f
Fix tests of main package, imports in dev 2021-10-08 21:51:01 +02:00
Simon Binder fcbef06b7c
Move generator to drift_dev 2021-10-08 18:10:48 +02:00