Sphere is a nice database ORM for QtQuick's LocalStorage SQLite database.
Coming soon to qpm!
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
}
}
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/.