gchar * qof_sql_entity_insert(QofEntity *ent)
Build a SQL 'INSERT' statement for this entity.
gchar * qof_sql_object_create_table(QofObject *obj)
Build a SQL 'CREATE' statement for this object.
void qof_sql_entity_set_kvp_id(gulong id)
Set the initial index value of the KVP table.
gulong qof_sql_entity_get_kvp_id(void)
Get the index value of the KVP table after the operation(s).
gchar * qof_sql_entity_update(QofEntity *ent)
Build a SQL 'UPDATE' statement for the current entity parameter.
gchar * qof_sql_entity_create_table(QofEntity *ent)
Build a SQL 'CREATE' statement for this entity.
gchar * qof_sql_entity_update_list(QofEntity *ent, GList **params)
Build a SQL 'UPDATE' statement for a list of parameters.
void qof_sql_entity_set_kvp_exists(gboolean exist)
Set or clear a flag that the KVP table exists or not.
gchar * qof_sql_entity_update_kvp(QofEntity *ent)
Build a SQL 'UPDATE' statement for the KVP data in this entity.
gchar * qof_sql_entity_drop_table(QofEntity *ent)
Build a SQL 'DROP' statement for this entity type.
void qof_sql_entity_set_kvp_tablename(const gchar *name)
Set a default KVP table name for each backend.
gchar * qof_sql_entity_delete(QofEntity *ent)
Build a SQL 'DELETE' statement for this entity.