amplify_db_common_dart 0.4.7 copy "amplify_db_common_dart: ^0.4.7" to clipboard
amplify_db_common_dart: ^0.4.7 copied to clipboard

Common utilities for working with databases such as sqlite. Used throughout Amplify packages.

amplify_db_common_dart #

Common utilities for working with databases such as sqlite.

Drift Database Connection #

The top-level connect() function creates a QueryExecutor on either web or vm platforms.

Use on Web

The web implementation uses package:drift/wasm.dart. To use this utility in a web app (flutter web, or non-flutter web), sqlite3.wasm will need to be included manually. For more info, see the drift wasm docs.

Use in Flutter VM

This utility does not depend on Flutter, and can be used in non-flutter apps and packages. To use this package in a flutter app or package, amplify_db_common will have to be included as a dependency. See its pub.dev listing for more info.

0
likes
140
points
76.8k
downloads

Publisher

verified publisheraws-amplify.com

Weekly Downloads

Common utilities for working with databases such as sqlite. Used throughout Amplify packages.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

amplify_core, async, aws_common, drift, meta, path, sqlite3

More

Packages that depend on amplify_db_common_dart