9 #ifndef _litesql_mysql_hpp 10 #define _litesql_mysql_hpp 12 #ifdef HAVE_LIBMYSQLCLIENT 20 typedef struct st_mysql MYSQL;
26 class MySQL :
public Backend {
28 string host, user, passwd, database;
34 MySQL(
const string& connInfo);
37 virtual bool supportsSequences()
const;
38 virtual string getRowIDType()
const;
39 virtual string getInsertID()
const;
40 virtual void begin()
const;
41 virtual void commit()
const;
42 virtual void rollback()
const;
43 Backend::Result* execute(
const string& query)
const;
44 Backend::Cursor* cursor(
const string& query)
const;
Definition: backend.hpp:14
contains class Record and typedef Records
contains litesql's exception classes
Classes Backend, Backend::Cursor and Backend::Result.