MidgardQueryRow

MidgardQueryRow

Synopsis

                    MidgardQueryRow;
GObject *           midgard_query_row_get_object        (MidgardQueryRow *self,
                                                         const gchar *column_name,
                                                         GError **error);
const GValue *      midgard_query_row_get_value         (MidgardQueryRow *self,
                                                         const gchar *column_name,
                                                         GError **error);
GValueArray *       midgard_query_row_get_values        (MidgardQueryRow *self,
                                                         GError **error);

Object Hierarchy

  GInterface
   +----MidgardQueryRow

Prerequisites

MidgardQueryRow requires GObject.

Known Implementations

MidgardQueryRow is implemented by MidgardSqlQueryRow.

Description

Details

MidgardQueryRow

typedef struct _MidgardQueryRow MidgardQueryRow;


midgard_query_row_get_object ()

GObject *           midgard_query_row_get_object        (MidgardQueryRow *self,
                                                         const gchar *column_name,
                                                         GError **error);

self :

MidgardQueryRow instance

column_name :

Column name which holds value. [allow-none]

error :

pointer to store error

Returns :

an object for specified column. column_name can be ommited if column name is uniqe in the MidgardQueryResult. [transfer full]

Since 10.05.6


midgard_query_row_get_value ()

const GValue *      midgard_query_row_get_value         (MidgardQueryRow *self,
                                                         const gchar *column_name,
                                                         GError **error);

self :

MidgardQueryRow instance

column_name :

Column name which holds value. [allow-none]

error :

pointer to store error

Returns :

value for specified column. column_name can be ommited if column name is uniqe in the MidgardQueryResult

Since 10.05.6


midgard_query_row_get_values ()

GValueArray *       midgard_query_row_get_values        (MidgardQueryRow *self,
                                                         GError **error);

self :

MidgardQueryRow instance

error :

a pointer to store error

Returns :

array of values stored in a row or NULL. [transfer container]

Since 10.05.6