| GNOME Data Access manual | ||||
|---|---|---|---|---|
GdaQueryFieldAgg;
GdaQueryField* gda_query_field_agg_new (GdaQuery *query,
const gchar *agg_name);
GdaDictAggregate* gda_query_field_agg_get_ref_agg
(GdaQueryFieldAgg *agg);
gboolean gda_query_field_agg_set_arg (GdaQueryFieldAgg *agg,
GdaQueryField *arg);
GObject +----GdaObject +----GdaQueryObject +----GdaQueryField +----GdaQueryFieldAgg
GdaQueryFieldAgg implements GdaXmlStorage, GdaReferer, GdaEntityField and GdaRenderer.
"aggregate" GdaDictAggregate : Read / Write "aggregate-id" gchararray : Write "aggregate-name" gchararray : Write "query" GdaQuery : Read / Write / Construct Only
GdaQueryField* gda_query_field_agg_new (GdaQuery *query, const gchar *agg_name);
Creates a new GdaQueryFieldAgg object which represents the agg aggregate
query : |
a GdaQuery in which the new object will be |
agg_name : |
the name of an aggregate to represent |
| Returns : | the new object |
GdaDictAggregate* gda_query_field_agg_get_ref_agg (GdaQueryFieldAgg *agg);
Get the real GdaDictAggregate object used by agg
agg : |
a GdaQueryFieldAgg object |
| Returns : | the GdaDictAggregate object, or NULL if agg is not active
|
gboolean gda_query_field_agg_set_arg (GdaQueryFieldAgg *agg, GdaQueryField *arg);
Sets the argument of agg. If arg is NULL, then
the argument (if there was one) is removed.
If agg is not active, then no check on the provided arg
is performed.
agg : |
a GdaQueryFieldAgg object |
arg : |
a GdaQueryField object |
| Returns : | TRUE if no error occurred |