Hello everyone, Just FYI, QxOrm library provides also a way to connect easily QML and databases using Qt model/view engine (QxOrm models are based on Qt QAbstractItemModel class). You can find an example on QxOrm website here : http://www.qxorm.com/qxorm_en/faq.html#faq_300 And QxOrm package contains the example source code.
The QxModelView module of QxOrm library is also able to manage relationships (1-n, n-1, n-n) using nested models concept. I would recommend to generate source code with QxEntityEditor application to work with relationships (nested models) and QML. Regards, Lionel Marty - QxOrm library 2015-11-15 23:35 GMT+01:00 Daniel França <daniel.fra...@gmail.com>: > Hi guys, > I've developed an ORM library for QML. > > The main intention was to use it for some of my projects, but as I've seen > a lack of this kind of library for QML I'm making open-source on my github: > https://github.com/danielfranca/quickmodel > > It's very simple and easy to use, basically it's only a single file that > you can import in your project. > The interface is inspired on Django ORM, so you can expect very similar > method signatures: > var artists_johnny = Artist.filter({name__like: ‘Johnny’}).limit(3).all(); > > The documentation is available (but it's under construction) here: > http://quickmodel.readthedocs.org/en/latest/ > > Please let me know what you think about it, any feedback is welcome ;) > > > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest > >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest