Definition in file qofsql.c.
#include "config.h"
#include <stdlib.h>
#include <errno.h>
#include <glib.h>
#include <libintl.h>
#include "sql_parser.h"
#include <time.h>
#include "qof.h"
#include "qofquery-p.h"
Go to the source code of this file.
Defines | |
#define | _(String) dgettext (GETTEXT_PACKAGE, String) |
Functions | |
QofSqlQuery * | qof_sql_query_new (void) |
void | qof_sql_query_destroy (QofSqlQuery *q) |
QofQuery * | qof_sql_query_get_query (QofSqlQuery *q) |
void | qof_sql_query_set_book (QofSqlQuery *q, QofBook *book) |
void | qof_sql_query_set_kvp (QofSqlQuery *q, KvpFrame *kvp) |
static void | get_table_and_param (char *str, char **tab, char **param) |
static char * | dequote_string (char *str) |
static QofQuery * | handle_single_condition (QofSqlQuery *query, sql_condition *cond) |
static QofQuery * | handle_where (QofSqlQuery *query, sql_where *swear) |
static void | handle_sort_order (QofSqlQuery *query, GList *sorder_list) |
static void | qof_sql_insertCB (const QofParam *param, const gchar *insert_string, QofSqlQuery *query) |
static void | qof_query_set_insert_table (QofSqlQuery *query) |
static QofEntity * | qof_query_insert (QofSqlQuery *query) |
static const char * | sql_type_as_string (sql_statement_type type) |
void | qof_sql_query_parse (QofSqlQuery *query, const char *str) |
GList * | qof_sql_query_run (QofSqlQuery *query, const char *str) |
GList * | qof_sql_query_rerun (QofSqlQuery *query) |
Variables | |
static QofLogModule | log_module = "qof-query" |