diff --git a/docs/content/en/docs/Other engines/web.md b/docs/content/en/docs/Other engines/web.md index 0c1583d4..200afb01 100644 --- a/docs/content/en/docs/Other engines/web.md +++ b/docs/content/en/docs/Other engines/web.md @@ -20,7 +20,7 @@ class MyDatabase extends _$MyDatabase { MyDatabase() : super(WebDatabase('app')); ``` -Moor web is built on top of the [sql.js](https://github.com/kripken/sql.js/) library, which you need to include: +Moor web is built on top of the [sql.js](https://github.com/sql-js/sql.js/) library, which you need to include: ```html @@ -32,7 +32,7 @@ Moor web is built on top of the [sql.js](https://github.com/kripken/sql.js/) lib
``` -You can grab the latest version of `sql-wasm.js` and `sql-wasm.wasm` [here](https://github.com/kripken/sql.js/tree/master/dist) +You can grab the latest version of `sql-wasm.js` and `sql-wasm.wasm` [here](https://github.com/sql-js/sql.js/tree/master/dist) and copy them into your `web` folder. A full example that works on the web (and all other platforms) is available @@ -74,7 +74,7 @@ SharedDatabase constructDb() { You can see all queries sent from moor to the underlying database engine by enabling the `logStatements` parameter on the `WebDatabase` - they will appear in the console. When you have assertions enabled (e.g. in debug mode), moor will expose the underlying -[database](http://kripken.github.io/sql.js/documentation/#http://kripken.github.io/sql.js/documentation/class/Database.html) +[database](http://sql-js.github.io/sql.js/documentation/#http://sql-js.github.io/sql.js/documentation/class/Database.html) object via `window.db`. If you need to quickly run a query to check the state of the database, you can use `db.exec(sql)`. If you need to delete your databases, there stored using local storage. You can clear all your data with `localStorage.clear()`. diff --git a/docs/content/en/docs/_index.md b/docs/content/en/docs/_index.md index 2c48ce0f..4db7575e 100755 --- a/docs/content/en/docs/_index.md +++ b/docs/content/en/docs/_index.md @@ -10,7 +10,7 @@ description: Welcome to the moor documentation. This site shows you what moor ca ## So what's moor? Moor is a reactive persistence library for Dart and Flutter applications. It's built on top -of database libraries like [sqflite](https://pub.dev/packages/sqflite) or [sql.js](https://github.com/kripken/sql.js/) +of database libraries like [sqflite](https://pub.dev/packages/sqflite) or [sql.js](https://github.com/sql-js/sql.js/) and provides additional features, like: - __Type safety__: Instead of writing sql queries manually and parsing the `List