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
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
Simon Binder
e607ffe183
Document json type converters
2022-04-22 23:53:42 +02:00
Simon Binder
fb7246654d
Web documentation for unique Dart columns
2022-04-03 12:44:02 +02:00
Simon Binder
9c31a17926
Add docs on `WasmDatabase`
2022-04-02 20:02:37 +02:00
YeungKC
79aedea60e
Determine schema version. ( #1743 )
...
Avoid an unnecessary write to the database when no migration is needed.
2022-03-10 14:36:02 +01:00
Simon Binder
db954b08cd
docs: Use highlight files in more places
2022-03-01 21:37:38 +01:00
Simon Binder
536d510825
Update many-to-many example
2022-02-21 20:41:47 +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