Commit Graph

64 Commits

Author SHA1 Message Date
Simon Binder 03d3c837be
Add support for subqueries.
Closes #612.
2023-07-20 22:30:20 +02:00
Simon Binder 312fa3219f
Add docs for step-by-step migrations 2023-07-01 18:11:41 +02:00
Simon Binder e5491beaeb
Update web-wasm documentation 2023-06-18 21:10:44 +02:00
Simon Binder 0bf6d0c384
Update web docs 2023-06-17 22:14:59 +02:00
Simon Binder b976e6f7ef
Add web example served under docs website 2023-06-16 16:41:13 +02:00
Simon Binder 1e74aae972
Update new web documentation 2023-06-15 00:08:14 +02:00
Simon Binder ec5927bc2a
Add web compatibility information to web page 2023-05-31 23:48:13 +02:00
Simon Binder b4b4e350dd
Simplify creation of web workers for drift 2023-04-10 23:01:30 +02:00
Simon Binder a6bdd26c93
Remove outdated warnings about drift/wasm 2023-03-20 17:41:57 +01:00
Simon Binder 23017f60e1
Improve docs for `computeWithDatabase` 2023-03-06 21:56:25 +01:00
Simon Binder 46390a2da5
Add `insertFromSelect` Dart API 2023-02-25 15:29:55 +01:00
Simon Binder 039ff942f7
Add docs on schema reflection 2023-02-17 18:21:52 +01:00
Simon Binder 9cb82ed4dc
Fix broken docs for background platform channels 2023-02-07 12:48:29 +01:00
Simon Binder 4bd5192e46
Improve documentation for isolates 2023-01-29 16:13:20 +01:00
Simon Binder 0d354b3bec
Deprecate special connect constructor 2023-01-28 16:53:35 +01:00
Honza Bittner 9b7e9533bd
Fix bitwiseAnd generated operation 2023-01-23 21:21:19 +01:00
Simon Binder 2c63c1a64e
Update docs for Dart components in SQL
Scopes components are enabled by default, so the warning is no longer
necessary.
2023-01-22 22:53:45 +01:00
Simon Binder 37101cf839
Add documentation and changelog 2022-12-27 22:26:31 +01:00
Simon Binder 0a5014a7b4
Reformat sources 2022-11-25 18:00:09 +01:00
Simon Binder cd00c6899e
Add helper method to setup isolates more easily 2022-11-25 17:54:38 +01:00
Simon Binder 097f941f88
Add single-client mode for remote connections 2022-11-25 13:47:08 +01:00
Simon Binder 1ed459c013
Fix wrong table reference in docs 2022-11-18 17:01:00 +01:00
Simon Binder b2bbcfae8a
Add `shutdownOnClose` to `connect()`
When only a single client connects to a drift server, the whole server
can be disposed when that client disconnects. This makes it easier to
clean up resources in the common case of having one client.

Closes #2157
2022-11-15 11:00:52 +01:00
Josiah Mendes 9c72d858ae
Fix runtime migration verification typo 2022-11-12 23:48:16 +08:00
Simon Binder b776c672c2
Fix missing semicolon in drift docs (#2118) 2022-11-02 21:26:20 +01:00
Alexander Wilde ba28b51125 Decouple JsonTypeConverter from TypeConverter 2022-10-14 19:56:28 +01:00
Simon Binder a2e10d9abc
Prepare 2.2.0 release 2022-10-06 13:27:25 +02:00
Simon Binder ee8499a6dd
Format sources in documentation 2022-10-05 11:34:28 +02:00
Simon Binder becae40c6e
Add bitwise operators to query builder 2022-10-05 11:31:45 +02:00
Simon Binder 3a4b3002d2
Format docs snippets 2022-08-27 21:44:42 +02:00
Simon Binder f0a58a6bd1
Improve clarity on getting started files (#2022) 2022-08-27 21:39:27 +02:00
Simon Binder 678893241e
Update docs on joins 2022-08-27 00:05:27 +02:00
Simon Binder 1db9173112
Format sources in documentation 2022-08-15 20:00:03 +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 1ff7ddbd82
Document dates as text on website 2022-07-25 15:26:16 +02:00
Simon Binder 3744fa0601
Merge branch 'develop' into refactor-type-system 2022-07-20 22:37:34 +02:00
Simon Binder a8c6031fc4
Add documentation comments, fix analysis warnings 2022-07-19 23:01:22 +02:00
Simon Binder ef3ee418d4
Update docs on custom SQL 2022-07-16 11:51:21 +02:00
Simon Binder 1af6bb78d9
Start removing the SqlTypeSystem class 2022-07-12 17:04:01 +02:00
Simon Binder b537749f22
Use prepared snippets for isolates docs 2022-07-10 17:58:28 +02:00
Simon Binder 5332b8680b
Doc snippets: Link to relevant dartdoc page 2022-07-10 14:27:56 +02:00
Simon Binder c74f5d4cb4
Document nested transactions 2022-06-25 15:51:28 +02:00
Simon Binder 8a68527fee
Merge remote-tracking branch 'North101/develop' into develop 2022-06-23 21:01:07 +02:00
Simon Binder cf1e94d384
Automatically make some converters nullable 2022-06-23 20:56:56 +02:00
Alexander Wilde 345faa91c7 TypeConverter mapToDart -> fromSql, mapToSql -> toSql 2022-06-22 23:50:19 +01:00
Simon Binder 06af930941
Explicit null-aware types on type converters 2022-06-22 23:56:15 +02:00
Simon Binder 4af9aed190
Fix example for subquery expressions (#1892) 2022-06-17 17:53:56 +02:00
Simon Binder cbcde53da6
Docs: Describe how to export databases (#376) 2022-05-28 13:52:18 +02:00
Simon Binder f971d4ce91
Update wasm snippet for docs 2022-05-04 20:46:09 +02:00
Simon Binder d23028a5bb
Docs: Fix group by Dartt examples 2022-04-25 10:49:11 +02:00