gda-easy.h | gda-easy.h | |||
---|---|---|---|---|
skipping to change at line 89 | skipping to change at line 89 | |||
* Tables creation and destruction | * Tables creation and destruction | |||
*/ | */ | |||
GdaServerOperation *gda_prepare_create_table (GdaConnection *cnc, c onst gchar *table_name, GError **error, ...); | GdaServerOperation *gda_prepare_create_table (GdaConnection *cnc, c onst gchar *table_name, GError **error, ...); | |||
gboolean gda_perform_create_table (GdaServerOperation * op, GError **error); | gboolean gda_perform_create_table (GdaServerOperation * op, GError **error); | |||
GdaServerOperation *gda_prepare_drop_table (GdaConnection *cnc, const gchar *table_name, GError **error); | GdaServerOperation *gda_prepare_drop_table (GdaConnection *cnc, const gchar *table_name, GError **error); | |||
gboolean gda_perform_drop_table (GdaServerOperation * op, GError **error); | gboolean gda_perform_drop_table (GdaServerOperation * op, GError **error); | |||
/* | /* | |||
* Data in tables manipulation | * Data in tables manipulation | |||
*/ | */ | |||
gboolean gda_insert_row_into_table (GdaConnection *cnc, | gboolean gda_insert_row_into_table (GdaConnection *cnc, c | |||
const gchar *table_name, GError **error, ...); | onst gchar *table, GError **error, ...); | |||
gboolean gda_insert_row_into_table_from_string (GdaConnection * | gboolean gda_update_row_in_table (GdaConnection *cnc, c | |||
cnc, const gchar *table_name, GError **error, ...); | onst gchar *table, | |||
gboolean gda_update_value_in_table (GdaConnection *cnc, | const gchar *condition | |||
const gchar *table_name, | _column_name, | |||
const gchar *search_f | GValue *condition_valu | |||
or_column, | e, GError **error, ...); | |||
const GValue *conditi | gboolean gda_delete_row_from_table (GdaConnection *cnc, c | |||
on, | onst gchar *table, | |||
const gchar *column_n | const gchar *condition | |||
ame, | _column_name, | |||
const GValue *new_val | GValue *condition_valu | |||
ue, GError **error); | e, GError **error); | |||
gboolean gda_update_values_in_table (GdaConnection *cnc, | ||||
const gchar *table_name, | ||||
const gchar *conditio | ||||
n_column_name, | ||||
const GValue *conditi | ||||
on, | ||||
GError **error, ...); | ||||
gboolean gda_delete_row_from_table (GdaConnection *cnc, | ||||
const gchar *table_name, | ||||
const gchar *conditio | ||||
n_column_name, const GValue *condition, | ||||
GError **error); | ||||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
26 lines changed or deleted | 14 lines changed or added | |||
gda-util.h | gda-util.h | |||
---|---|---|---|---|
skipping to change at line 70 | skipping to change at line 70 | |||
/* | /* | |||
* translate any text to an alphanumerical text | * translate any text to an alphanumerical text | |||
*/ | */ | |||
gchar *gda_text_to_alphanum (const gchar *text); | gchar *gda_text_to_alphanum (const gchar *text); | |||
gchar *gda_alphanum_to_text (gchar *text); | gchar *gda_alphanum_to_text (gchar *text); | |||
/* | /* | |||
* Statement computation from meta store | * Statement computation from meta store | |||
*/ | */ | |||
GdaSqlExpr *gda_compute_unique_table_row_condition (GdaSqlStatementSelect | GdaSqlExpr *gda_compute_unique_table_row_condition (GdaSqlStatementSel | |||
*stsel, GdaMetaTable *mtable, | ect *stsel, GdaMetaTable *mtable, | |||
gboolean require_pk, GE | gboolean require_pk | |||
rror **error); | , GError **error); | |||
gboolean gda_compute_dml_statements (GdaConnection *cnc, GdaStatement * | gboolean gda_compute_dml_statements (GdaConnection *cnc, GdaStateme | |||
select_stmt, gboolean require_pk, | nt *select_stmt, gboolean require_pk, | |||
GdaStatement **insert_stmt, GdaStat | GdaStatement **insert_stmt, Gda | |||
ement **update_stmt, GdaStatement **delete_stmt, | Statement **update_stmt, GdaStatement **delete_stmt, | |||
GError **error); | GError **error); | |||
GdaSqlStatement *gda_compute_select_statement_from_update (GdaStatement *up | ||||
date_stmt, GError **error); | ||||
/* | /* | |||
* DSN and connection string manipulations | * DSN and connection string manipulations | |||
*/ | */ | |||
gchar *gda_rfc1738_encode (const gchar *string); | gchar *gda_rfc1738_encode (const gchar *string); | |||
gboolean gda_rfc1738_decode (gchar *string); | gboolean gda_rfc1738_decode (gchar *string); | |||
void gda_dsn_split (const gchar *string, gchar **out_ dsn, | void gda_dsn_split (const gchar *string, gchar **out_ dsn, | |||
gchar **out_username, gchar **out_ password); | gchar **out_username, gchar **out_ password); | |||
void gda_connection_string_split (const gchar *string, gchar **out_ cnc_params, gchar **out_provider, | void gda_connection_string_split (const gchar *string, gchar **out_ cnc_params, gchar **out_provider, | |||
gchar **out_username, gchar **out_ password); | gchar **out_username, gchar **out_ password); | |||
End of changes. 1 change blocks. | ||||
9 lines changed or deleted | 11 lines changed or added | |||