![]() |
![]() |
![]() |
GNOME Data Access 3.0 manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
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, GdaEntityField, GdaRenderer and GdaReferer.
"function" GdaDictFunction* : Read / Write "function-id" gchar* : Write "function-name" gchar* : 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
|
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
);
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
);
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.
|
a GdaQueryFieldFunc object |
|
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.
|
a GdaQueryFieldFunc object |
Returns : |
a new list of arguments |