MidgardSqlQueryRow

MidgardSqlQueryRow

Synopsis

                    MidgardSqlQueryRow;
struct              MidgardSqlQueryRowClass;
MidgardSqlQueryRow * midgard_sql_query_row_new          (MidgardConnection *mgd,
                                                         GObject *model,
                                                         guint row);

Object Hierarchy

  GObject
   +----MidgardSqlQueryRow

Implemented Interfaces

MidgardSqlQueryRow implements MidgardQueryRow.

Properties

  "connection"               MidgardConnection*    : Write / Construct Only
  "model"                    GdaDataModel*         : Write / Construct Only
  "row"                      guint                 : Write / Construct Only

Description

Details

MidgardSqlQueryRow

typedef struct _MidgardSqlQueryRow MidgardSqlQueryRow;


struct MidgardSqlQueryRowClass

struct MidgardSqlQueryRowClass {
	GObjectClass parent;
};


midgard_sql_query_row_new ()

MidgardSqlQueryRow * midgard_sql_query_row_new          (MidgardConnection *mgd,
                                                         GObject *model,
                                                         guint row);

This constructor should be used by MidgardQueryResult implementation

mgd :

MidgardConnection instance

model :

a GObject which represents data model

row :

Row's index in a given model

Returns :

new MidgardSqlQueryRow

Since 10.05.6

Property Details

The "connection" property

  "connection"               MidgardConnection*    : Write / Construct Only

Connection to underlying database.


The "model" property

  "model"                    GdaDataModel*         : Write / Construct Only

Holds a reference to data model.


The "row" property

  "row"                      guint                 : Write / Construct Only

Index of a row in a model.

Default value: 0