Getting Started
Simple guide to get a moor project up and running
Moor is a reactive persistence library for Dart and Flutter applications. It’s built on top of database libraries like sqflite or sql.js and provides additional features, like:
List<Map<String, dynamic>> that they
return, moor turns rows into objects of your choice.select(users).watch(). That’s it! No sql to write, no rows to parse..createAllTables().
You don’t need to manually write your CREATE TABLE statements and keep them updated.And much more! Moor validates data before inserting it, so you can get helpful error messages instead of just an sql error code. Of course, it supports transactions. And DAOs. And efficient batched insert statements. The list goes on.
Check out these in-depth articles to learn about moor and how to use its features.
Simple guide to get a moor project up and running
Example apps using moor
Learn about some advanced features of moor
Write typesafe sql with moor
Run multiple queries atomically
Use moor on the web or other platforms
Work in progress documentation on moor internals
A set of CLI tools to interact with moor files
All platforms supported by moor, and how to use them
Guide on writing unit tests for moor databases