Giter VIP home page Giter VIP logo

moor's Introduction

Moor

Build Status codecov Chat on Gitter

Core Flutter Generator
Generator version Flutter version Generator version

Moor is a reactive persistence library for Flutter and Dart, built ontop of sqlite. Moor is

  • Flexible: Moor let's you write queries in both SQL and Dart, providing fluent apis for both languages. You can filter and order results or use joins to run queries on multiple tables. You can even use complex sql features like WITH and WINDOW clauses.
  • ๐Ÿ”ฅ Feature rich: Moor has builtin support for transactions, schema migrations, complex filters and expressions, batched updates and joins. We even have a builtin IDE for SQL!
  • ๐Ÿ“ฆ Modular: Thanks to builtin support for daos and imports in sql files, moor helps you keep your database code simple.
  • ๐Ÿ›ก๏ธ 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.
  • โšก 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 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!

To start using moor, read our detailed docs.

If you have any questions, feedback or ideas, feel free to create an issue. If you enjoy this project, I'd appreciate your ๐ŸŒŸ on GitHub.


Packages in this repo:

  • moor: The main runtime for moor, which provides most apis
  • moor_ffi: New and faster executor for moor, built with dart:ffi.
  • moor_flutter: The standard executor wrapping the sqflite package
  • moor_generator: The compiler for moor tables, databases and daos. It 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

moor's People

Contributors

aarblon avatar abumalick avatar alextekartik avatar billyeh avatar blaugold avatar boumenot avatar cervonwong avatar cristianrp avatar davidmartos96 avatar dhi13man avatar dmitriyzaitsev avatar ened avatar festelo avatar friebetill avatar fryette avatar kuhnroyal avatar marcgraub avatar michaelspiss avatar mike278 avatar milvintsiss avatar mqus avatar negator avatar pkozlovskiy avatar py4x3g avatar rodydavis avatar saladthieves avatar simolus3 avatar vitaminwater avatar yohom avatar yshahak avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.