drift/docs/content/en/_index.html

48 lines
1.9 KiB
HTML
Raw Normal View History

---
title: "Moor"
linkTitle: "Moor"
---
2019-08-01 11:56:23 -07:00
{{< blocks/cover title="Moor: Persistence library for Dart" image_anchor="top" height="med" color="indigo" >}}
2019-08-01 11:56:23 -07:00
<div class="mx-auto">
<a class="btn btn-lg btn-primary mr-3 mb-4" href="{{< relref "/docs" >}}">
Learn More <i class="fas fa-arrow-alt-circle-right ml-2"></i>
</a>
<a class="btn btn-lg btn-secondary mr-3 mb-4" href="https://pub.dev/packages/moor_flutter">
Get fom pub <i class="fas fa-code ml-2 "></i>
2019-08-01 11:56:23 -07:00
</a>
</div>
{{< /blocks/cover >}}
{{% blocks/lead color="dark" %}}
Moor is an easy to use, reactive persistence library for Flutter apps. Define your
database tables in pure Dart and enjoy a fluent query API, auto-updating streams
and more!
2019-08-01 11:56:23 -07:00
{{% /blocks/lead %}}
{{< blocks/section color="primary" >}}
{{% blocks/feature icon="fa-lightbulb" title="Declarative tables, fluent queries!" %}}
With moor, you can write your database tables in pure Dart without having to miss out on
advanced sqlite features. Moor will take care of writing the `CREATE TABLE` statements when
the database is created.
2019-08-01 11:56:23 -07:00
Thanks to the power of Darts build system, moor generates code to write queries easily.
2019-08-01 11:56:23 -07:00
[Get started now]({{< ref "/docs/Getting started/_index.md" >}})
2019-08-01 11:56:23 -07:00
{{% /blocks/feature %}}
{{% blocks/feature icon="fas fa-database" title="Prefer SQL? Moor got you covered!" url="https://moor.simonbinder.eu/queries/custom" %}}
Moor contains a powerful sql parser and analyzer, allowing it to create typesafe APIs for all your sql queries. All queries are
validated and analyzed during build-time, so moor can provide hints about potential errors quickly and generate efficient mapping
code.
2019-08-01 11:56:23 -07:00
{{% /blocks/feature %}}
{{% blocks/feature icon="fas fa-star" title="And much more!" %}}
Moor can also provide auto-updating streams emitting new results when the underlying data changes.
Moor makes dealing with transactions easy (no special parameter to pass around everywhere),
2019-08-01 11:56:23 -07:00
{{% /blocks/feature %}}
{{< /blocks/section >}}