| GNOME Data Access 3.0 manual | ||||
|---|---|---|---|---|
GdaQueryFieldFuncGdaQueryFieldFunc — Represents a function (selected by a GdaDictFunction object) |
GdaQueryFieldFunc;
GdaQueryField* gda_query_field_func_new (GdaQuery *query,
const gchar *func_name);
GdaDictFunction* gda_query_field_func_get_ref_func (GdaQueryFieldFunc *func);
const gchar* gda_query_field_func_get_ref_func_name
(GdaQueryFieldFunc *func);
gboolean gda_query_field_func_set_args (GdaQueryFieldFunc *func,
GSList *args);
GSList* gda_query_field_func_get_args (GdaQueryFieldFunc *func);
GObject +----GdaObject +----GdaQueryObject +----GdaQueryField +----GdaQueryFieldFunc
GdaQueryFieldFunc implements GdaXmlStorage, GdaReferer, GdaEntityField and GdaRenderer.
"function" GdaDictFunction* : Read / Write "function-id" gchar* : Write "function-name" gchar* : Write "query" GdaQuery* : Read / Write / Construct Only
typedef struct _GdaQueryFieldFunc GdaQueryFieldFunc;
GdaQueryFieldFunc is deprecated and should not be used in newly-written code.
GdaQueryField* gda_query_field_func_new (GdaQuery *query, const gchar *func_name);
gda_query_field_func_new is deprecated and should not be used in newly-written code.
Creates a new GdaQueryFieldFunc object which represents the func_name function
|
a GdaQuery in which the new object will be |
|
the name of the function to use |
Returns : |
the new object |
GdaDictFunction* gda_query_field_func_get_ref_func (GdaQueryFieldFunc *func);
gda_query_field_func_get_ref_func is deprecated and should not be used in newly-written code.
Get the name of the function which func represents
|
a GdaQueryFieldFunc object |
Returns : |
the function name |
const gchar* gda_query_field_func_get_ref_func_name (GdaQueryFieldFunc *func);
gda_query_field_func_get_ref_func_name is deprecated and should not be used in newly-written code.
|
|
Returns : |
gboolean gda_query_field_func_set_args (GdaQueryFieldFunc *func, GSList *args);
gda_query_field_func_set_args is deprecated and should not be used in newly-written code.
Sets the argument(s) of func. If args is NULL, then
all the arguments (if there was any) are removed.
If func is not active, then no check on the provided args
is performed.
|
a GdaQueryFieldFunc object |
|
a list of GdaQueryField objects |
Returns : |
TRUE if no error occurred |
GSList* gda_query_field_func_get_args (GdaQueryFieldFunc *func);
gda_query_field_func_get_args is deprecated and should not be used in newly-written code.
Get a list of the other GdaQueryField objects which are arguments of func. If some
of them are missing, then a NULL is inserted where it should have been.
|
a GdaQueryFieldFunc object |
Returns : |
a new list of arguments |