GnuCash 2.3.0
Data Fields
GncSqlConnection Struct Reference

#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 *)

Detailed Description

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.


Field Documentation

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.

Returns TRUE if successful, FALSE if error

Definition at line 156 of file gnc-backend-sql.h.

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.

Returns TRUE if successful, FALSE if error

Definition at line 157 of file gnc-backend-sql.h.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines