Midgard2 Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
MidgardSqlQueryResult; struct MidgardSqlQueryResultClass; MidgardSqlQueryResult * midgard_sql_query_result_new (MidgardQuerySelector *selector
,GObject *model
); void midgard_sql_query_result_set_columns (MidgardSqlQueryResult *self
,MidgardSqlQueryColumn **columns
,guint n_columns
,GError **error
);
"model" GdaDataModel* : Write / Construct Only "selector" MidgardQuerySelector* : Write / Construct Only
MidgardSqlQueryResult * midgard_sql_query_result_new (MidgardQuerySelector *selector
,GObject *model
);
This constructor should be used by MidgardQuerySelector implementation
|
MidgardQuerySelector instance |
|
a GObject which represents data model |
Returns : |
new MidgardSqlQueryResult |
Since 10.05.6
void midgard_sql_query_result_set_columns (MidgardSqlQueryResult *self
,MidgardSqlQueryColumn **columns
,guint n_columns
,GError **error
);
"model"
property"model" GdaDataModel* : Write / Construct Only
Holds a reference to data model.
"selector"
property"selector" MidgardQuerySelector* : Write / Construct Only
SQL query select executor.