moor_web library

A version of moor that runs on the web by using sql.js You manually need to include that library into your website to use the web version of moor. See the documentation for a more detailed instruction.


Interface to control how moor should store data on the web.
Experimental moor backend for the web. To use this platform, you need to include the latest version of sql.js in your html.


CreateWebDatabase() Future<Uint8List>
Signature of a function that asynchronously initializes a web database if it doesn't exist. The bytes returned should represent a valid sqlite3 database file.