Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1.33 KB

README.md

File metadata and controls

36 lines (25 loc) · 1.33 KB

Sphere

Gitter ZenHub.io

GitHub release License GitHub issues Travis branch Maintenance

Sphere is a nice database ORM for QtQuick's LocalStorage SQLite database.

Installation

Coming soon to qpm!

Examples

Define your models in ES6 using classes and decorators:

export class SampleDocument extends Document {
    @field('string') title
    @field('string') body

    constructor(title, body) {
        super()
        this.title = title
        this.body = body
    }
}

Licensing

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.