![]() |
![]() |
![]() |
GNOME Data Access 3.0 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" gchar* : Write "aggregate-name" gchar* : 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
|
a GdaQuery in which the new object will be |
|
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
|
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.
|
a GdaQueryFieldAgg object |
|
a GdaQueryField object |
Returns : |
TRUE if no error occurred |