com.sonrisesoftware.sphere

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

version 0.0.1

To install:

❯ qpm install com.sonrisesoftware.sphere

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

Author

Michael Spencer

Info
View on Github

License: MPL_2_0

Installs
Today 0
This week 0
This month 4
This year 8
Total 8
Dependencies

None.

Versions