Library and ORM for SQLite in AIR projects
Clone or download
marpies Attempt to fix Travis build
Adobe removed hosting of SWC files
Latest commit e33ff31 Jul 19, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea Initial commit Feb 2, 2017
build Updated build scripts with 'asdoc' task Mar 13, 2017
src Fixed type of `DB.encryptionKey` (resolves #16) Jul 19, 2018
test Updated schema test May 16, 2018
.gitignore Initial commit Feb 2, 2017
.travis.yml Attempt to fix Travis build Jul 19, 2018
BreezeDb.iml Initial commit Feb 2, 2017
LICENSE.md Initial commit Feb 2, 2017
README.md Update README.md Mar 17, 2017

README.md

BreezeDb Build Status

BreezeDb is a SQLite database helper and ORM loosely based on the Laravel database and Eloquent ORM.

Features

Database

BreezeDb greatly simplifies the process of setting up, managing and interacting with SQLite database in Adobe AIR. It supports multiple database connections and keeps your app responsive by executing all operations asynchronously.

Migrations

Migrations are used to create and edit database structure between app versions. They are atomic and run within a transaction, thus if one migration fails then all preceding migrations in the same session will be rolled back. After a migration is completed successfully, it will never run again.

Collection

The Collection class provides a wrapper for working with arrays of data. It is built upon the standard Array class but adds a handful of new methods.

Query Builder

Query builder provides a convenient, fluent interface for creating and running database queries, including multi-row inserts, aggregates and joins. The builder uses automatic parameter binding to protect against SQL injection attacks.

ORM

The ORM support in BreezeDb enables seamless mapping of each database table to an ActionScript class (model). Models are capable of querying data as well as inserting new records using strongly typed objects.