|
static gchar * | add_to_sql (gchar *sql_str, const gchar *add) |
|
static QofIdTypeConst | kvp_value_to_qof_type_helper (KvpValueType n) |
| Map a KvpValue to a QofIdType. More...
|
|
static KvpValueType | sql_to_kvp_helper (const gchar *type_string) |
|
KvpValue * | string_to_kvp_value (const gchar *content, KvpValueType type) |
| Convert a string value into KvpValue. More...
|
|
static void | kvpvalue_to_sql (const gchar *key, KvpValue *val, gpointer builder) |
|
static gchar * | string_param_to_sql (QofParam *param) |
|
static void | create_param_list (QofParam *param, gpointer builder) |
| list just the parameter names More...
|
|
static void | create_each_param (QofParam *param, gpointer builder) |
|
static void | delete_event (QofEntity *ent, QofEventId event_type, gpointer handler_data, gpointer event_data) |
| use the new-style event handlers for insert and update insert runs after QOF_EVENT_CREATE delete runs before QOF_EVENT_DESTROY More...
|
|
static void | create_event (QofEntity *ent, QofEventId event_type, gpointer handler_data, gpointer event_data) |
|
static void | qsql_modify (QofBackend *be, QofInstance *inst) |
|
static gint | record_foreach (gpointer builder, gint col_num, gchar **strings, gchar **columnNames) |
|
static void | string_param_foreach (QofParam *param, gpointer builder) |
|
static void | update_param_foreach (QofParam *param, gpointer builder) |
|
static void | update_dirty (gpointer value, gpointer builder) |
|
static gint | create_dirty_list (gpointer builder, gint col_num, gchar **strings, gchar **columnNames) |
|
static gint | mark_entity (gpointer builder, gint col_num, gchar **strings, gchar **columnNames) |
|
static void | qsql_create (QofBackend *be, QofInstance *inst) |
|
static void | check_state (QofEntity *ent, gpointer builder) |
|
static gint | build_kvp_table (gpointer builder, gint col_num, gchar **strings, gchar **columnNames) |
| chekc kvp data once per record More...
|
|
static void | qsql_load_kvp (QSQLiteBackend *qsql_be) |
|
static void | qsql_class_foreach (QofObject *obj, gpointer data) |
|
static void | qsql_backend_createdb (QofBackend *be, QofSession *session) |
|
static void | qsql_backend_opendb (QofBackend *be, QofSession *session) |
|
static void | qsqlite_session_begin (QofBackend *be, QofSession *session, const gchar *book_path, gboolean ignore_lock, gboolean create_if_nonexistent) |
|
static void | qsqlite_db_load (QofBackend *be, QofBook *book) |
|
static void | qsqlite_write_db (QofBackend *be, QofBook *book) |
|
static gboolean | qsql_determine_file_type (const gchar *path) |
|
static void | qsqlite_session_end (QofBackend *be) |
|
static void | qsqlite_destroy_backend (QofBackend *be) |
|
static void | qsql_provider_free (QofBackendProvider *prov) |
|
static QofBackend * | qsql_backend_new (void) |
| Starts the backend and creates the context. More...
|
|
void | qof_sqlite_provider_init (void) |
| Initialises the SQLite backend. More...
|
|
Public interface of qof-backend-sqlite.
- Author
- Copyright 2006-2007 Neil Williams linux.nosp@m.@cod.nosp@m.ehelp.nosp@m..co..nosp@m.uk
Definition in file qof-sqlite.c.