|
GnuCash 2.3.0
|
#include <gnc-backend-sql.h>
Data Fields | |
| void(* | dispose )(GncSqlConnection *) |
| GncSqlResult *(* | executeSelectStatement )(GncSqlConnection *, GncSqlStatement *) |
| gint(* | executeNonSelectStatement )(GncSqlConnection *, GncSqlStatement *) |
| GncSqlStatement *(* | createStatementFromSql )(GncSqlConnection *, const gchar *) |
| gboolean(* | doesTableExist )(GncSqlConnection *, const gchar *) |
| gboolean(* | beginTransaction )(GncSqlConnection *) |
| gboolean(* | rollbackTransaction )(GncSqlConnection *) |
| gboolean(* | commitTransaction )(GncSqlConnection *) |
| gboolean(* | createTable )(GncSqlConnection *, const gchar *, GList *) |
| gboolean(* | createIndex )(GncSqlConnection *, const gchar *, const gchar *, const GncSqlColumnTableEntry *) |
| gboolean(* | addColumnsToTable )(GncSqlConnection *, const gchar *table, GList *) |
| gchar *(* | quoteString )(const GncSqlConnection *, gchar *) |
Struct which represents the connection to an SQL database. SQL backends must provide a structure which implements all of the functions.
Definition at line 149 of file gnc-backend-sql.h.
| gboolean(* GncSqlConnection::addColumnsToTable)(GncSqlConnection *, const gchar *table, GList *) |
Returns TRUE if successful, FALSE if error
Definition at line 161 of file gnc-backend-sql.h.
| gboolean(* GncSqlConnection::beginTransaction)(GncSqlConnection *) |
Returns TRUE if successful, FALSE if error
Definition at line 156 of file gnc-backend-sql.h.
| gboolean(* GncSqlConnection::commitTransaction)(GncSqlConnection *) |
Returns TRUE if successful, FALSE if error
Definition at line 158 of file gnc-backend-sql.h.
| gboolean(* GncSqlConnection::createIndex)(GncSqlConnection *, const gchar *, const gchar *, const GncSqlColumnTableEntry *) |
Returns TRUE if successful, FALSE if error
Definition at line 160 of file gnc-backend-sql.h.
| gboolean(* GncSqlConnection::createTable)(GncSqlConnection *, const gchar *, GList *) |
Returns TRUE if successful, FALSE if error
Definition at line 159 of file gnc-backend-sql.h.
| gboolean(* GncSqlConnection::doesTableExist)(GncSqlConnection *, const gchar *) |
Returns true if successful
Definition at line 155 of file gnc-backend-sql.h.
Returns -1 if error
Definition at line 153 of file gnc-backend-sql.h.
Returns NULL if error
Definition at line 152 of file gnc-backend-sql.h.
| gboolean(* GncSqlConnection::rollbackTransaction)(GncSqlConnection *) |
Returns TRUE if successful, FALSE if error
Definition at line 157 of file gnc-backend-sql.h.
1.7.4