_productsHandler.reload(PRODUCTS, &_productsModel); _productsHandler.setTableView(ui->tv_Products);_productsHandler.keyValueOfView()
List<MyObject> list = MyObject::select_all("as o1").join(OtherObject::query("as o2")) .where("o1.somefield = ", myval);
List<ID> list = MyObject::ids().where("anotherfield is NULL");
QString q = MyObject::queryText("as o1").join(ThirdObject::query("as third")) .where("third.third_field IN ", array) .deleteFrom("o1");
MyObject().setFieldOne(valOne).setFieldTwo(valTwo).store(); MyObject object = MyObject::byId(some_id);