Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    SQLitepp -

    Download button

    No screenshots available
    Downloads: 452  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Alessandro Molina | More programs
    LGPL / FREE
    September 26th, 2005, 22:55 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    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[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);

    Product's homepage

      


    TAGS:

    SQLite wrapper | SQLite library | database library | SQLitepp | SQL | SQLite

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM