• QtEjb Database Framework for Qt
  • QtEjb Database Framework for Qt

    Database provide an interface to work with an ejdb service from qt.

    1. Create a database:

    QEjdbDatabase::database("file:test_db");

    2. Create a collection:

    QEjdbCollection col = db.collection(QLatin1String("COLL"), true)

    3. Save a bson:

    QBsonObject obj("name", "Alfred Kabuschke")
    col.save(obj);

    Classes are:

    QEjdbCollection

    Provide a collection with methods to call database funcitons

    QEjdbDatabase

    Connects a ejdb database and provides an api to modify it