SQLitepp

SQLitepp is a multilanguage object oriented wrapper to the sqlite library.
Download

SQLitepp Ranking & Summary

Advertisement

  • Rating:
  • License:
  • LGPL
  • Price:
  • FREE
  • Publisher Name:
  • Alessandro Molina
  • Publisher web site:
  • http://www.objectblues.net/wiki/show/FlatLand

SQLitepp Tags


SQLitepp Description

SQLitepp is a multilanguage object oriented wrapper to the sqlite library. 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 tuple1 = "Foobar" tuple1.commit() del dbC++ 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)


SQLitepp Related Software