Commit Graph

1966 Commits

Author SHA1 Message Date
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
Simon Binder 61c2fff4e2
Merge pull request #1564 from boyan01/develop
Fix unknown function cause SQL generator crash
2021-11-26 09:22:16 +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
Simon Binder 45a64f7f08
Document build option 2021-11-25 21:33:35 +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
Nicola Verbeeck 39b4745b7d
Update community_tools.md (#1557)
Updated viewer and inspector packages to include drift specific versions
2021-11-23 19:45:46 +01:00
Simon Binder 871f1e4198
Don't emit stale data for resuming subscriptions 2021-11-22 21:20:00 +01:00
Munjata KEITA 1eb36eaaea
Convert ByteData before writing into file (#1555)
ByteData can not be written directly into file using writeAsBytes method.
It must be converted to Uint8List before the operation.
2021-11-21 23:24:32 +01:00
Simon Binder 214fbe2409
Don't crash for unknown column in PK 2021-11-19 15:43:50 +01:00
Simon Binder 504dcf7149
Advertise name change more 2021-11-17 19:56:55 +01:00
westito 47f0465795 Make Join accept bare Table type 2021-11-16 09:04:43 +01:00
westito 876f6850f5 Add dsl view generator 2021-11-15 00:15:53 +01:00
Simon Binder 4b6240d67b
Use dart-lang/setup-dart in actions 2021-11-14 12:20:42 +01:00
Simon Binder 05a8b9abf1
Small additional test for precedence 2021-11-14 12:17:25 +01:00
westito ea6dc02964 Refactor drift views 2021-11-13 12:27:07 +01:00
westito 649549a218 Add View DSL syntax 2021-11-12 22:20:50 +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 5f8b74c8df
Use iterable as parameter for batch methods 2021-11-03 11:01:15 +01:00
Simon Binder 594b5f43c5
Explain that channels need to be initialized 2021-10-30 17:04:24 +02:00
Simon Binder 23c912d6aa
Explain usages of .memory() in docs 2021-10-30 16:29:37 +02:00
Simon Binder 0501e61f59
Add notice to old readmes 2021-10-28 22:16:03 +02:00
westito f78c251f3f
Add Flutter web worker example (#1512) 2021-10-27 21:25:32 +02:00
lsaudon f72e63c776 Fix naming
Put the same term everywhere, in accordance with the "Setup" part.
2021-10-27 12:30:10 +02:00
Simon Binder 9b273449c3
Support pauses in query streams (#1510) 2021-10-25 22:04:16 +02:00
Simon Binder 1dadebaeef
Merge pull request #1511 from westito/helper_scripts
Add helper scripts
2021-10-25 16:54:02 +02:00
westito 0f7b604205 Add helper scripts 2021-10-25 12:07:51 +02: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 59ec14d060 Fix line length in comments 2021-10-18 15:43:15 +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 219fbee99f
Replace mentions of VmDatabase in docs 2021-10-14 11:16:55 +02:00
Simon Binder 410ff6f6e3
Document incompatibility around the encrypted variant 2021-10-13 22:45:48 +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 d6671f0462
Release drift 1.0.1, moor 4.6.0 2021-10-12 17:22:20 +02:00
Simon Binder 1226c0076e
Merge pull request #1478 from Ascenio/develop
docs: fix typos
2021-10-12 17:07:10 +02:00