amplify_db_common_dart 0.4.1 copy "amplify_db_common_dart: ^0.4.1" to clipboard
amplify_db_common_dart: ^0.4.1 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-web.flutter-io.cn listing for more info.

0
likes
130
pub points
55%
popularity

Publisher

verified publisheraws-amplify.com

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

Homepage
Repository (GitHub)
View/report issues
Contributing

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