Commit Graph

344 Commits

Author SHA1 Message Date
ckroot b9070ef6a2
change name of the update method
The name of the method update in line 140 Cause exceptions for the methods `moveImportantTasksIntoCategory` and `update` method itself .
The problem is when these two methods try to call the native update method on `package:drift/src/runtime/api/runtime_api.dart` the program use the update method define in this page and trigger exceptions . It takes me lots of time .
2022-02-11 13:04:02 +00:00
Simon Binder fca9db2052
Back to `dartdoc` due to missing options 2022-02-09 16:43:39 +01:00
Simon Binder 51f61a884f
Suggest using transactions in migrations 2022-02-09 16:24:07 +01:00
Simon Binder 2486e66e05
Fix docs build, retire master branch 2022-02-09 16:08:08 +01:00
Mathieu Pierfitte b829e70507
Improve migration guidelines 2022-02-09 14:15:01 +01:00
Mathieu Pierfitte 6113bb3dc8
Improve migration guidelines 2022-02-09 14:13:45 +01:00
Mathieu Pierfitte 1ced978f86
Improve migration guidelines
The migration docs using `if (from == 1)` mislead me to think skipping version would still run intermediate migrations. However, if a user goes straight from v1 to v3, the migration process won't be 1 -> 2 + 2 -> 3, but 1 -> 3 directly, thus the code in `if (from == 2)` will never run, skipping a necessary migration.

I think the proposed change might prevent others from doing the same mistake as I did.
2022-02-09 12:13:37 +01:00
Simon Binder df89513130
Document list subqueries, add test 2022-02-05 20:01:58 +01:00
Simon Binder a102323857
Give proper credits for `storage_inspector` :) 2022-02-02 21:04:03 +01:00
Simon Binder 64fde620f4
Update storage_inspector in community tools 2022-02-02 17:19:59 +01:00
Simon Binder 2ef2d660fc
Mention that batches are using transactions more 2022-02-02 10:12:25 +01:00
Simon Binder 3f165c2df7
Update community tools 2022-01-26 15:42:49 +01:00
Michael Thomsen cdde1e57f3
Update index.md 2022-01-25 14:38:30 +01:00
Simon Binder 6d89a7711b
Recommend using isolates in docs 2022-01-24 13:26:46 +01:00
Simon Binder a16b7d3d3f
Remove outdated warning about queries in migration 2022-01-23 17:56:19 +01:00
Simon Binder ab3db154e3
Upgrade built_site and docsy 2022-01-22 21:06:26 +01:00
Simon Binder 75463f8819
Remove references to the beta branch 2022-01-19 18:25:31 +01:00
Simon Binder 0563a7fa15
Fix link check, again 2022-01-07 23:06:23 +01:00
Simon Binder 6b6663c690
Disable checking external links 2022-01-05 19:04:14 +01:00
Simon Binder 573bd20eb8
Fix missing quotes in drift files docs 2022-01-05 18:52:35 +01:00
Simon Binder c8f8e025c4
Merge branch 'develop' 2021-12-30 19:27:36 +01:00
juliangeissler b1979e35ed
Fix Typo 2021-12-27 18:15:58 +01:00
Simon Binder 0a2cc40ba5
Print more logs when a link check fails 2021-12-26 00:20:34 +01:00
Simon Binder 286612db6d
Merge remote-tracking branch 'origin/master' into develop 2021-12-23 17:47:04 +01:00
Simon Binder 768764f005
Use Dart-based linkcheck 2021-12-21 19:54:54 +01:00
Simon Binder 2ecc44c593
Fix unintentional rename in docs 2021-12-21 19:23:38 +01:00
Pataridze Givi af945cf0f6
Update builder_options.md
`dialect` displacement fix
2021-12-20 18:40:28 +04:00
Simon Binder c4e2600944
Merge branch 'master' into develop 2021-12-11 13:21:49 +01:00
Simon Binder 523ae98b40
Add Flutter favorite icon to website 2021-12-09 00:21:57 +01:00
Simon Binder 5fcdbed46f
Add docs 2021-12-01 17:05:58 +01:00
Simon Binder 45a64f7f08
Document build option 2021-11-25 21:33:35 +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
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
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 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
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 27e103aa01
Merge branch 'develop' 2021-10-14 11:24:55 +02:00
Simon Binder 219fbee99f
Replace mentions of VmDatabase in docs 2021-10-14 11:16:55 +02:00
Simon Binder 7d5273bd8f
Merge branch 'develop' 2021-10-13 22:52:49 +02:00
Simon Binder 410ff6f6e3
Document incompatibility around the encrypted variant 2021-10-13 22:45:48 +02:00
Simon Binder fa8f30d427
Merge branch 'develop' 2021-10-12 17:12:49 +02:00
Ascênio Sanderson b787281865 docs: fix typos 2021-10-12 11:14:01 -03:00
Simon Binder f1f044d171
Fix typo in prod build config 2021-10-12 15:17:40 +02:00
Simon Binder 61d0d17f26
Fix building the documentation 2021-10-12 15:14:12 +02:00
Simon Binder 6b030036d4
Deprecate top-level members in moor package 2021-10-12 14:45:19 +02:00
Simon Binder 7d41e42c78
Prepare moor 4.6.0 release 2021-10-12 14:26:53 +02:00
Simon Binder 3cc17b0a45
Merge branch 'master' into develop 2021-10-11 15:57:42 +02:00
Simon Binder 950f93a1f8
Build drift dartdoc for website 2021-10-11 14:50:16 +02:00