Commit Graph

151 Commits

Author SHA1 Message Date
Ayumi Sashitani 16f586f444
Fix typo in upgrading documentation (#2037)
Co-authored-by: Ayumi Sashitani <sashiiii.dev@gmail.com>
2022-09-07 14:45:30 +02:00
Simon Binder eb7299c2d5
Stop mentioning `compact_query_methods` (#2036) 2022-09-05 13:54:47 +02:00
Simon Binder 80f8546122
Add tests for null sorting on asc/desc factories 2022-08-29 22:13:04 +02:00
Simon Binder c7a4a8cdec
Merge pull request #2023 from daniel-hopkins/patch-1
Update existing_databases.md
2022-08-27 23:33:53 +02:00
Simon Binder f0a58a6bd1
Improve clarity on getting started files (#2022) 2022-08-27 21:39:27 +02:00
daniel-hopkins c59c4eb574
Update existing_databases.md
the line `final file = File(p.join(dbFo …` needs `path/path.dart` imported as `p`
2022-08-27 14:28:16 -04:00
Simon Binder ca6758d8b1
Refresh documentation page on examples 2022-08-27 20:26:43 +02:00
Simon Binder 678893241e
Update docs on joins 2022-08-27 00:05:27 +02:00
Simon Binder 633b2ec359
Remove unused file, link to encryption sample 2022-08-25 21:20:31 +02:00
Simon Binder add52f2aaf
Add changelog entry and documentation 2022-08-24 09:23:31 +02:00
Simon Binder c44578da60
Update docs on encryption 2022-08-22 11:57:58 +02:00
Simon Binder a4fe582f25
Collect documentation for 2.0 release 2022-08-13 14:18:17 +02:00
Simon Binder b9a605ed25
Allow async mappings from SQL to row classes
When existing, custom row classes are used, drift now supports using a
(potentially asynchronous) static method to load them instead of just
a named constructor like before.
Tables are also changed to support the `map` method being async for
cases where that is needed. The same applies to custom queries which
may have to be async now.
2022-08-12 22:55:02 +02:00
Simon Binder d5b8d5f1f6
Update docs license and home page 2022-08-07 17:13:59 +02:00
Simon Binder b6f6156407
Support datetime -> string serialization 2022-08-03 20:31:19 +02:00
Simon Binder 1ff7ddbd82
Document dates as text on website 2022-07-25 15:26:16 +02:00
Simon Binder ef3ee418d4
Update docs on custom SQL 2022-07-16 11:51:21 +02:00
Simon Binder 7d940f8fd8
Fix more typos 2022-07-11 21:49:52 +02:00
Simon Binder d0e1d17ed0
Rename docs package to drift_docs 2022-07-10 18:02:26 +02:00
Simon Binder b537749f22
Use prepared snippets for isolates docs 2022-07-10 17:58:28 +02:00
Simon Binder 116f98269d
Always enable the new SQL generation mode 2022-07-03 21:53:17 +02:00
Simon Binder c74f5d4cb4
Document nested transactions 2022-06-25 15:51:28 +02:00
Simon Binder 06af930941
Explicit null-aware types on type converters 2022-06-22 23:56:15 +02:00
cnmade 6583fa5ec8
Using read<int> instead readInt
by the document and api document, readInt may replace with read<int>?

`
Use read<int>(key) directly
`
2022-06-19 16:13:58 +08:00
Simon Binder 4af9aed190
Fix example for subquery expressions (#1892) 2022-06-17 17:53:56 +02:00
Simon Binder 5367072df5
Docs: List enums as column type 2022-06-16 18:29:13 +02:00
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