Commit Graph

498 Commits

Author SHA1 Message Date
Simon Binder 28417c52af
Fix lints and warnings added in Dart 3.0 2023-05-12 22:42:21 +02:00
Simon Binder 18868221d9
Support doc comments for columns in drift files 2023-05-10 12:00:44 +02:00
Eli Geller 54f6eea205
small typo fixes (#2410)
Co-authored-by: Eli Geller <eli@reportallusa.com>
2023-05-05 16:10:52 +02:00
Simon Binder 6bb2c3d2c5
Support named constructors for rows in drift file 2023-04-23 16:21:31 +02:00
Simon Binder b4b4e350dd
Simplify creation of web workers for drift 2023-04-10 23:01:30 +02:00
Shion d63701201a Fix typo 2023-04-04 17:06:42 +02:00
Simon Binder 954de410a9
Add new clean architecture example 2023-03-21 17:41:42 +01:00
Simon Binder a6bdd26c93
Remove outdated warnings about drift/wasm 2023-03-20 17:41:57 +01:00
Simon Binder 94744d54f3
Add documentation warning about defunct IDE 2023-03-11 22:16:39 +01:00
Simon Binder 23017f60e1
Improve docs for `computeWithDatabase` 2023-03-06 21:56:25 +01:00
Simon Binder d9498bdb9d
Remove experimental warning for modular mode 2023-03-06 21:30:50 +01:00
Greg Price 3ab33227b7 Make explicit `schema generate` command for migration data tests
These flags are mentioned in the prose of this section, but it's
easy to miss them (or at least, I missed them) there and rely on
the `schema generate` command given in the previous section.
That one generates the expected files, but with this section's code
it leads to an error:

    Unsupported operation: TableInfo.map in schema verification code

because the generated code has a stub implementation of `map`.

Make it easier to spot the need for these flags by providing an
explicit complete command using them.
2023-02-28 11:34:13 -08: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 d30d2a1212
Add backup/restore functionality to example app 2023-02-08 00:35:55 +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
Simon Binder 83fad8426e
Make `generate_connect_constructor` the default 2023-01-28 16:14:27 +01:00
Honza Bittner 9b7e9533bd
Fix bitwiseAnd generated operation 2023-01-23 21:21:19 +01:00
Simon Binder 7bd2316605
Delete conflicting outputs when building docs 2023-01-23 15:39:25 +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 ac7aa48933
Fix typo in FAQ docs 2023-01-10 11:59:03 +01:00
Simon Binder ddb2b01b1c
Just reference the new package 2023-01-09 17:36:55 +01:00
Lungu Constantin fab7957b68
Update faq.md 2023-01-09 14:01:38 +02:00
Simon Binder d9072d7fac
Mention that casts work for drift types 2023-01-06 17:32:05 +01:00
Simon Binder bc325dd31c
Support cast to drift-specific types 2023-01-06 15:10:03 +01:00
Simon Binder 20e6b0d5fe
Fix crash, support type converters in views 2023-01-06 14:27:15 +01:00
Simon Binder e562cb9d21
Support type converters in queries 2023-01-05 23:04:36 +01:00
Simon Binder 810ecb169a
Merge pull request #2241 from North101/develop
Add toColumns mixin when using user generated classes
2022-12-31 14:40:52 +01:00
Simon Binder 104cb9be07
Document builder option 2022-12-31 14:16:09 +01:00
Simon Binder 6e173e8c08
Don't require tokens for some AST classes 2022-12-30 20:46:18 +01:00
Simon Binder 37101cf839
Add documentation and changelog 2022-12-27 22:26:31 +01:00
Simon Binder 5f8b1e3358
Recognize database files when dumping schema data 2022-12-15 16:47:44 +01:00
ValentinVignal 1e6a6cc666
🔥 Remove extra space 2022-12-03 16:19:02 +08:00
ValentinVignal 496635afb5
🚚 Rename column_name_case into case_from_dart_to_sql 2022-12-03 15:55:58 +08:00
ValentinVignal b08088ab1b
Merge remote-tracking branch 'upstream/develop' into column-name-case 2022-12-03 14:56:51 +08:00
Simon Binder 1a51dbf4d6
Static analysis support for custom functions 2022-12-02 23:34:42 +01:00
ValentinVignal 2a8e9d7af0
✏️ Fix typo for camelCase 2022-12-01 23:41:32 +08:00
ValentinVignal 0f8a6c0a1e
📝 Add column_name_case in the documentation 2022-12-01 23:27:03 +08:00
Simon Binder 8f98e14836
Add docs for drift files 2022-11-30 21:56:56 +01:00
ValentinVignal 3f0e40b8a7
📝 Update the documentation 2022-11-28 19:06:38 +08: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 0231225733
Document modular generation 2022-11-25 17:13:34 +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 dfa01c1332
Upgrading docs: Mention to re-generate schema files 2022-11-09 12:45:41 +01:00