CATEGORIES TOP DOWNLOADS NEW DOWNLOADS Popular Topics Trending Downloads

SQLitepp

Software ID: 129400
Dialup(56k)  -   03 s
ISDN(128k)  -   02 s
DSL(512k)  -   01 s
Cable(1024k)  -   01 s
T1(1484k)  -   01 s
SQLitepp Description

SQLitepp is a C/C++/Python wrapper to sqlite library for database management. It implements an object oriented way to manipulate the database in every supported language. SQLitepp supports selfupdatable queries and a straight SQL code query system without using strange things for querying the database, letting you manipulate it directly in SQL but also exposing simple object oriented methods to manipulate the result of the queries and updating them. Python EXAMPLE: db = SQLDatabase("database.db") q = db.query("Tablename", "SELECT Name,Id FROM %t") if len(q): tuple1 = q[0] tuple1["Name"] = "Foobar" tuple1.commit() del db C++ EXAMPLE: SQLDatabase db("database.db"), SQLQuery *q = db.query("Tablename", "SELECT Name,Id FROM %t"), if(q->numberOfTuples()) { SQLRow *tuple1 = q->getRow(0), tuple1->set("Name", "Foobar"), tuple1->commit(), } delete q, C EXAMPLE: void *db = new_SQLDatabase("database.db"), void *q = SQLDatabase_query(db, "Tablename", "SELECT Name,Id FROM %t"), if(SQLQuery_numberOfTuples(q)) { void *tuple1 = SQLQuery_getRow(q, 0), SQLRow_set(tuple1, "Name", "Foobar"), SQLRow_commit(tuple1), } delete_SQLQuery(q), delete_SQLDatabase(db),