Skip to content

quickly/sphere

Repository files navigation

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/.

About

A simple and easy-to-use SQLite ORM for QML

Resources

License

Stars

Watchers

Forks

Packages

No packages published