MidgardSqlQueryResult

MidgardSqlQueryResult

Synopsis

                    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);

Object Hierarchy

  GObject
   +----MidgardSqlQueryResult

Implemented Interfaces

MidgardSqlQueryResult implements MidgardQueryResult.

Properties

  "model"                    GdaDataModel*         : Write / Construct Only
  "selector"                 MidgardQuerySelector*  : Write / Construct Only

Description

Details

MidgardSqlQueryResult

typedef struct _MidgardSqlQueryResult MidgardSqlQueryResult;


struct MidgardSqlQueryResultClass

struct MidgardSqlQueryResultClass {
	GObjectClass parent;
};


midgard_sql_query_result_new ()

MidgardSqlQueryResult * midgard_sql_query_result_new    (MidgardQuerySelector *selector,
                                                         GObject *model);

This constructor should be used by MidgardQuerySelector implementation

selector :

MidgardQuerySelector instance

model :

a GObject which represents data model

Returns :

new MidgardSqlQueryResult

Since 10.05.6


midgard_sql_query_result_set_columns ()

void                midgard_sql_query_result_set_columns
                                                        (MidgardSqlQueryResult *self,
                                                         MidgardSqlQueryColumn **columns,
                                                         guint n_columns,
                                                         GError **error);

Property Details

The "model" property

  "model"                    GdaDataModel*         : Write / Construct Only

Holds a reference to data model.


The "selector" property

  "selector"                 MidgardQuerySelector*  : Write / Construct Only

SQL query select executor.