![]() |
![]() |
![]() |
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" gchararray : Write "function-name" gchararray : Write "query" GdaQuery : Read / Write / Construct Only
GdaQueryField* gda_query_field_func_new (GdaQuery *query, const gchar *func_name);
Creates a new GdaQueryFieldFunc object which represents the func_name
function
query : |
a GdaQuery in which the new object will be |
func_name : |
the name of the function to use |
Returns : | the new object |
GdaDictFunction* gda_query_field_func_get_ref_func (GdaQueryFieldFunc *func);
Get the name of the function which func
represents
func : |
a GdaQueryFieldFunc object |
Returns : | the function name |
const gchar* gda_query_field_func_get_ref_func_name (GdaQueryFieldFunc *func);
func : |
|
Returns : |
gboolean gda_query_field_func_set_args (GdaQueryFieldFunc *func, GSList *args);
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.
func : |
a GdaQueryFieldFunc object |
args : |
a list of GdaQueryField objects |
Returns : | TRUE if no error occurred |
GSList* gda_query_field_func_get_args (GdaQueryFieldFunc *func);
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.
func : |
a GdaQueryFieldFunc object |
Returns : | a new list of arguments |