GnuCash  2.6.99
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
GncSqlBackend Struct Reference

#include <gnc-backend-sql.h>

Data Fields

QofBackend be
 
GncSqlConnectionconn
 
QofBookbook
 
gboolean loading
 
gboolean in_query
 
gboolean is_pristine_db
 
gint obj_total
 
gint operations_done
 
GHashTable * versions
 
const gchar * timespec_format
 

Detailed Description

Main SQL backend structure.

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

Field Documentation

QofBackend GncSqlBackend::be

QOF backend

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

QofBook* GncSqlBackend::book

The primary, main open book

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

GncSqlConnection* GncSqlBackend::conn

SQL connection

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

gboolean GncSqlBackend::in_query

We are processing a query

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

gboolean GncSqlBackend::is_pristine_db

Are we saving to a new pristine db?

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

gboolean GncSqlBackend::loading

We are performing an initial load

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

gint GncSqlBackend::obj_total

Total # of objects (for percentage calculation)

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

gint GncSqlBackend::operations_done

Number of operations (save/load) done

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

const gchar* GncSqlBackend::timespec_format

Format string for SQL for timespec values

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

GHashTable* GncSqlBackend::versions

Version number for each table

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


The documentation for this struct was generated from the following file: