diff --git a/README.md b/README.md index f7ccb99e..621937cf 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ provide helpful and descriptive lints. - __⚡ Fast__: Even though moor lets you write powerful queries, it can keep up with the performance of key-value stores like shared preferences and Hive. Moor is the only major persistence library with builtin threading support, allowing you to run database code across isolates with zero additional effort. - __Reactive__: Turn any sql query into an auto-updating stream! This includes complex queries across many tables -- __⚙️ Cross-Platform support__: Moor works on Android, iOS, macOS, Windows, Linux and the web. [This template](https://github.com/appleeducate/moor_shared) is a Flutter todo app that works on all platforms +- __⚙️ Cross-Platform support__: Moor works on Android, iOS, macOS, Windows, Linux and the web. [This template](https://github.com/rodydavis/moor_shared) is a Flutter todo app that works on all platforms - __🗡️ Battle tested and production ready__: Moor is stable and well tested with a wide range of unit and integration tests. It powers production Flutter apps. With moor, persistence on Flutter is fun! @@ -45,4 +45,4 @@ Packages in this repo: also contains a fully-featured sql ide - `sqlparser`: A sql parser and static analyzer, written in pure Dart. This package can be used without moor to perform analysis on sql statements. It's on pub at -[![sqlparser](https://img.shields.io/pub/v/sqlparser.svg)](https://pub.dev/packages/sqlparser) \ No newline at end of file +[![sqlparser](https://img.shields.io/pub/v/sqlparser.svg)](https://pub.dev/packages/sqlparser) diff --git a/docs/content/en/docs/Advanced Features/migrations.md b/docs/content/en/docs/Advanced Features/migrations.md index 31d12f15..9a115e28 100644 --- a/docs/content/en/docs/Advanced Features/migrations.md +++ b/docs/content/en/docs/Advanced Features/migrations.md @@ -38,7 +38,7 @@ We can now change the `database` class like this: // rest of class can stay the same ``` -You can also add individual tables or drop them - see the reference of [Migrator](https://pub.dev/documentation/moor/latest/moor/Migrator-class.html) +You can also add individual tables or drop them - see the reference of [Migrator](https://pub.dev/documentation/moor/latest/moor_web/Migrator-class.html) for all the available options. You can't use the high-level query API in migrations - calling `select` or similar methods will throw. diff --git a/docs/content/en/docs/Examples/_index.md b/docs/content/en/docs/Examples/_index.md index 54651eea..1e100c5a 100644 --- a/docs/content/en/docs/Examples/_index.md +++ b/docs/content/en/docs/Examples/_index.md @@ -7,7 +7,7 @@ description: Example apps using moor We have an [example in the repo](https://github.com/simolus3/moor/tree/master/moor_flutter/example), it's a simple todo list app, -written with moor. [Rody Davis](https://github.com/AppleEducate) has built a cleaner version of the example that works on all -Flutter platforms - including Web and Desktop! You can check it out [here](https://github.com/AppleEducate/moor_shared). +written with moor. [Rody Davis](https://github.com/rodydavis) has built a cleaner version of the example that works on all +Flutter platforms - including Web and Desktop! You can check it out [here](https://github.com/rodydavis/moor_shared). -The [HackerNews reader app](https://github.com/filiph/hn_app) from the [Boring Flutter Show](https://www.youtube.com/playlist?list=PLjxrf2q8roU3ahJVrSgAnPjzkpGmL9Czl) also uses moor to keep a list of favorite articles. \ No newline at end of file +The [HackerNews reader app](https://github.com/filiph/hn_app) from the [Boring Flutter Show](https://www.youtube.com/playlist?list=PLjxrf2q8roU3ahJVrSgAnPjzkpGmL9Czl) also uses moor to keep a list of favorite articles. diff --git a/docs/content/en/docs/Getting started/writing_queries.md b/docs/content/en/docs/Getting started/writing_queries.md index e5d76436..3491c347 100644 --- a/docs/content/en/docs/Getting started/writing_queries.md +++ b/docs/content/en/docs/Getting started/writing_queries.md @@ -151,7 +151,7 @@ Future insertMultipleEntries() async{ await batch((batch) { // functions in a batch don't have to be awaited - just // await the whole batch afterwards. - batch.insertAll([ + batch.insertAll(todos, [ TodosCompanion.insert( title: 'First entry', content: 'My content', diff --git a/docs/content/en/docs/Other engines/web.md b/docs/content/en/docs/Other engines/web.md index 1642562e..21b1b188 100644 --- a/docs/content/en/docs/Other engines/web.md +++ b/docs/content/en/docs/Other engines/web.md @@ -63,7 +63,7 @@ On the web, you can use ```dart import 'package:moor/moor_web.dart'; SharedDatabase constructDb() { - return SharedDatabase(WebDatabse('db')); + return SharedDatabase(WebDatabase('db')); } ``` @@ -76,4 +76,4 @@ object via `window.db`. If you need to quickly run a query to check the state of `db.exec(sql)`. If you need to delete your databases, there stored using local storage. You can clear all your data with `localStorage.clear()`. -Web support is experimental at the moment, so please [report all issues](https://github.com/simolus3/moor/issues/new) you find. \ No newline at end of file +Web support is experimental at the moment, so please [report all issues](https://github.com/simolus3/moor/issues/new) you find. diff --git a/moor/README.md b/moor/README.md index bbc5a90e..1a62b3b4 100644 --- a/moor/README.md +++ b/moor/README.md @@ -16,7 +16,7 @@ provide helpful and descriptive lints. - __⚡ Fast__: Even though moor lets you write powerful queries, it can keep up with the performance of key-value stores. Moor is the only major persistence library with builtin threading support, allowing you to run database code across isolates with zero additional effort. - __Reactive__: Turn any sql query into an auto-updating stream! This includes complex queries across many tables -- __⚙️ Cross-Platform support__: Moor works on Android, iOS, macOS, Windows, Linux and the web. [This template](https://github.com/appleeducate/moor_shared) is a Flutter todo app that works on all platforms +- __⚙️ Cross-Platform support__: Moor works on Android, iOS, macOS, Windows, Linux and the web. [This template](https://github.com/rodydavis/moor_shared) is a Flutter todo app that works on all platforms - __🗡️ Battle tested and production ready__: Moor is stable and well tested with a wide range of unit and integration tests. It powers production Flutter apps. With moor, persistence on Flutter is fun! @@ -29,4 +29,4 @@ project, I'd appreciate your [🌟 on GitHub](https://github.com/simolus3/moor/) ## For the web For information to use this library on the web (including Flutter web), follow the -instructions [here](https://moor.simonbinder.eu/web). Keep in mind that web support is still experimental. \ No newline at end of file +instructions [here](https://moor.simonbinder.eu/web). Keep in mind that web support is still experimental. diff --git a/moor_flutter/README.md b/moor_flutter/README.md index b8671aeb..4eda1606 100644 --- a/moor_flutter/README.md +++ b/moor_flutter/README.md @@ -14,7 +14,7 @@ even have a builtin IDE for SQL! - __🛡️ Safe__: Moor generates typesafe code based on your tables and queries. If you make a mistake in your queries, moor will find it at compile time and provide helpful and descriptive lints. - __Reactive__: Turn any sql query into an auto-updating stream! This includes complex queries across many tables -- __⚙️ Cross-Platform support__: Moor works on Android, iOS, macOS, Windows, Linux and the web. [This template](https://github.com/appleeducate/moor_shared) is a Flutter todo app that works on all platforms +- __⚙️ Cross-Platform support__: Moor works on Android, iOS, macOS, Windows, Linux and the web. [This template](https://github.com/rodydavis/moor_shared) is a Flutter todo app that works on all platforms - __🗡️ Battle tested and production ready__: Moor is stable and well tested with a wide range of unit and integration tests. It powers production Flutter apps. With moor, persistence on Flutter is fun! @@ -27,4 +27,4 @@ project, I'd appreciate your [🌟 on GitHub](https://github.com/simolus3/moor/) ## For the web For information to use this library on the web (including Flutter web), follow the -instructions [here](https://moor.simonbinder.eu/web). Keep in mind that web support is still experimental. \ No newline at end of file +instructions [here](https://moor.simonbinder.eu/web). Keep in mind that web support is still experimental.