Commit Graph

125 Commits

Author SHA1 Message Date
Simon Binder 5474ac22be
Also describe how to import backups 2022-05-28 13:57:56 +02:00
Simon Binder cbcde53da6
Docs: Describe how to export databases (#376) 2022-05-28 13:52:18 +02:00
Simon Binder a4dc3a3305
Clarify supported view columns 2022-05-23 21:38:23 +02:00
Remco Schrijver 1183bcabf3
Update index.md
Changed reference of moor to drift.
2022-05-21 23:04:36 +02:00
Simon Binder 15184110f4
Remove compatibility check 2022-05-16 15:59:11 +02:00
Simon Binder c25e8137bf
Document `BigInt` support on the website 2022-05-15 22:43:38 +02:00
Simon Binder c5183deea6
better headline for dart table docs (#1827) 2022-04-30 23:17:55 +02:00
Simon Binder d23028a5bb
Docs: Fix group by Dartt examples 2022-04-25 10:49:11 +02:00
Josiah Mendes 0eec16327a
Fix Headings for database comparison in FAQ
Floor and Firebase were H2 headings when they should have been H3 to fall under "How does drift compare to X?"
2022-04-23 21:29:57 +01:00
Simon Binder e607ffe183
Document json type converters 2022-04-22 23:53:42 +02:00
Simon Binder 2473cea469
Add `check()` to the Dart column builder (#1594) 2022-04-18 20:09:02 +02:00
Simon Binder 6a47e32afc
Link new cross-platform example in docs 2022-04-08 21:16:46 +02:00
Simon Binder 5981d409c5
Merge pull request #1774 from westito/unique-constraint
Unique constraint DSL for Dart tables
2022-04-03 12:53:24 +02:00
Simon Binder fb7246654d
Web documentation for unique Dart columns 2022-04-03 12:44:02 +02:00
Michal Šrůtek 7884831809
Fix return type in upsert (#1787) 2022-04-03 12:02:13 +02:00
Simon Binder 9c31a17926
Add docs on `WasmDatabase` 2022-04-02 20:02:37 +02:00
Simon Binder 1a2406ddc1
Add new cross-platform Flutter example 2022-04-02 18:01:10 +02:00
Simon Binder 204fbad682
Move examples into top-level folder 2022-04-01 22:11:21 +02:00
Simon Binder 26c3dbfb48
Update docs on supported platforms 2022-04-01 22:02:38 +02:00
Simon Binder fcc7e42d23
Link to platforms page from getting started 2022-03-20 12:39:22 +01:00
Simon Binder c80d37e9d9
Add example to `drift_sqflite` 2022-03-14 21:26:20 +01:00
Simon Binder da212944ff
Replace old website and repository links 2022-03-13 15:52:15 +01:00
Simon Binder 64c50837f9
Note that native libs don't work in simple tests 2022-03-10 20:08:45 +01:00
Simon Binder 5df272e655
Clarify docs on `recreateAllViews` 2022-03-07 10:36:27 +01:00
Simon Binder 61dc1f17b8
Name schema exports automatically (#1721) 2022-03-02 17:25:30 +01:00
Simon Binder db954b08cd
docs: Use highlight files in more places 2022-03-01 21:37:38 +01:00
Simon Binder 137a7b00a0
Merge branch 'documentation-snippets' into develop 2022-03-01 20:43:20 +01:00
Simon Binder db1a4e2827
Fix `validateDatabaseSchema` 2022-03-01 20:41:00 +01:00
Simon Binder cb46e2c07e
API to validate schema at runtime (#1718) 2022-03-01 18:10:19 +01:00
Simon Binder 536d510825
Update many-to-many example 2022-02-21 20:41:47 +01:00
Simon Binder de6a083c69
Fix typo in routeWithPoints example 2022-02-14 22:17:03 +01:00
Simon Binder 48041512cb
Use sqlparser for drift snippets 2022-02-14 22:13:00 +01:00
Simon Binder 99172c1216
Extract snippets for documentation
This makes it easier to test the validity of snippets
2022-02-13 16:55:57 +01:00
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 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 75463f8819
Remove references to the beta branch 2022-01-19 18:25:31 +01:00
Simon Binder 573bd20eb8
Fix missing quotes in drift files docs 2022-01-05 18:52:35 +01:00
juliangeissler b1979e35ed
Fix Typo 2021-12-27 18:15:58 +01:00