| 1 | # MazDB |
| 2 | |
| 3 | MazDB is a Qt/QML NoSQL database and utilities library. It is built ontop |
| 4 | of Google's leveldb, and loosely based on the work done in https://github.com/paulovap/qtleveldb |
| 5 | |
| 6 | The main components to MazDB are: |
| 7 | |
| 8 | * `MazDB` - This is the low level api to the underlying leveldb |
| 9 | * `MazDBListModel` - This is a properly behaving qt model with some nice extras for manipulating your unstructured data |
| 10 | * `MazDBSortProxy` - Designed to work with `MazDBListModel` and providing sorting of your unstructured data. |
| 11 | * `MazDBSettings` - a QSettings/qt.labs.Settings replacement |
| 12 | * `MazDBQueryEngine` - A low level query engine for querying MazDB. |
| 13 | * `MazDBQuery` - Query component to be used with MazDBQueryEngine usinga declarative query language (MazQL) |
| 14 | |
| 15 | |
| 16 | ## Build |
| 17 | |
| 18 | Then fetch maz-db source |
| 19 | |
| 20 | ```bash |
| 21 | $ git clone http://code.dekkoproject.org/dekko-dev/maz-db.git |
| 22 | $ cd maz-db |
| 23 | $ qbs <options> |
| 24 | ``` |
| 25 | |
| 26 | To run the example app |
| 27 | |
| 28 | `$ qbs run` |
| 29 | |
| 30 | To run the tests |
| 31 | |
| 32 | `$ qbs build -p autotest-runner` |
| 33 | |
| 34 | |
| 35 | # Usage (Still TODO) |
| 36 | |
| 37 | For now take a look at the test suite and the [example/qml/Main.qml](http://code.dekkoproject.org/dekko-dev/maz-db/blob/master/example/qml/Main.qml) file |