Skip to content

Commit

Permalink
Mention CRDT projects on community page
Browse files Browse the repository at this point in the history
  • Loading branch information
simolus3 committed Nov 7, 2023
1 parent ce554a0 commit 13d64a9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions docs/pages/docs/community_tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ Do you have a drift-related package you want to share? Awesome, please let me kn
[Twitter](https://twitter.com/dersimolus) or via email to oss <at>simonbinder<dot>eu.
{% endblock %}

## Conflict-free replicated datatypes

Conflict-free replicated datatypes (CRDTs) enable synchronization and replication of data
even when offline.
The [sql\_crdt](https://pub.dev/packages/sql_crdt) package by Daniel Cachapa uses the
`sqlparser` package from the drift project transforms SQL queries at runtime to implement
CRDTs for databases.
The [drift\_crdt](https://pub.dev/packages/drift_crdt) package by Janez Štupar provides a
wrapper around this for drift.

## Storage inspector

[Nicola Verbeeck](https://github.com/NicolaVerbeeck) wrote the `storage_inspector` packages, which
Expand Down
2 changes: 1 addition & 1 deletion drift/lib/src/runtime/types/mapping.dart
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ final class SqlTypes {
// thing.
result = DateTime.parse(rawValue);
} else {
// Result from complex date tmie transformation. Interpret as UTC,
// Result from complex date time transformation. Interpret as UTC,
// which is what sqlite3 does by default.
result = DateTime.parse('${rawValue}Z');
}
Expand Down

0 comments on commit 13d64a9

Please sign in to comment.