Midgard2 Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
MidgardSqlQuerySelectData; struct MidgardSqlQuerySelectDataClass; MidgardSqlQuerySelectData * midgard_sql_query_select_data_new (MidgardConnection *mgd
); void midgard_sql_query_select_data_add_column (MidgardSqlQuerySelectData *self
,MidgardSqlQueryColumn *column
); MidgardSqlQueryColumn ** midgard_sql_query_select_data_get_columns (MidgardSqlQuerySelectData *self
,guint *n_objects
,GError **error
);
MidgardSqlQuerySelectData implements MidgardExecutable, MidgardValidable and MidgardQuerySelector.
struct MidgardSqlQuerySelectDataClass { MidgardQueryExecutorClass parent; };
MidgardSqlQuerySelectData * midgard_sql_query_select_data_new
(MidgardConnection *mgd
);
|
MidgardConnection instance |
Returns : |
new MidgardSqlQuerySelectData instance or NULL on failure |
Since 10.05.6
void midgard_sql_query_select_data_add_column (MidgardSqlQuerySelectData *self
,MidgardSqlQueryColumn *column
);
Adds a new column, which will be available in MidgardSqlQueryResult
|
MidgardSqlQuerySelectData instance |
|
MidgardSqlQueryColumn to add |
Since 10.05.6
MidgardSqlQueryColumn ** midgard_sql_query_select_data_get_columns (MidgardSqlQuerySelectData *self
,guint *n_objects
,GError **error
);
Returns all collumns added to given instance.
|
MidgardSqlQuerySelectData instance |
|
pointer to store number of returned columns |
|
pointer to store returned error |
Returns : |
array of MidgardSqlQueryColumn objects or NULL . [element-type MidgardSqlQueryColumn][array length=n_objects][transfer full]
|
Since 10.05.6
"connection"
property"connection" MidgardConnection* : Write / Construct Only
Pointer to a connection, MidgardSqlQuerySelectData has been initialized for