gda-statement-struct-delete

gda-statement-struct-delete

Types and Values

Description

Functions

gda_sql_statement_delete_take_table_name ()

void
gda_sql_statement_delete_take_table_name
                               (GdaSqlStatement *stmt,
                                GValue *value);

Sets the name of the table to delete from in stmt . value 's ownership is transferred to stmt (which means stmt is then responsible for freeing it when no longer needed).

Parameters

stmt

a GdaSqlStatement pointer

 

value

a table name as a G_TYPE_STRING GValue

 

gda_sql_statement_delete_take_condition ()

void
gda_sql_statement_delete_take_condition
                               (GdaSqlStatement *stmt,
                                GdaSqlExpr *cond);

Sets the WHERE condition of stmt . cond 's ownership is transferred to stmt (which means stmt is then responsible for freeing it when no longer needed).

Parameters

stmt

a GdaSqlStatement pointer

 

cond

the WHERE condition of the DELETE statement, as a GdaSqlExpr

 

Types and Values

GdaSqlStatementDelete

typedef struct {
	GdaSqlAnyPart any;
	GdaSqlTable  *table;
	GdaSqlExpr   *cond;
} GdaSqlStatementDelete;