MidgardQueryResult

MidgardQueryResult

Synopsis

                    MidgardQueryResult;
GObject **          midgard_query_result_get_objects    (MidgardQueryResult *self,
                                                         guint *n_objects,
                                                         GError **error);
MidgardQueryColumn ** midgard_query_result_get_columns  (MidgardQueryResult *self,
                                                         guint *n_objects,
                                                         GError **error);
gchar **            midgard_query_result_get_column_names
                                                        (MidgardQueryResult *self,
                                                         guint *n_names,
                                                         GError **error);
MidgardQueryRow **  midgard_query_result_get_rows       (MidgardQueryResult *self,
                                                         guint *n_objects,
                                                         GError **error);

Object Hierarchy

  GInterface
   +----MidgardQueryResult

Prerequisites

MidgardQueryResult requires GObject.

Known Implementations

MidgardQueryResult is implemented by MidgardSqlQueryResult.

Description

Details

MidgardQueryResult

typedef struct _MidgardQueryResult MidgardQueryResult;


midgard_query_result_get_objects ()

GObject **          midgard_query_result_get_objects    (MidgardQueryResult *self,
                                                         guint *n_objects,
                                                         GError **error);

self :

MidgardQueryResult instance

n_objects :

pointer to store number of returned objects

error :

pointer to store returned error

Returns :

array of objects available in this result or NULL. [element-type GObject][array length=n_objects][transfer full]

Since 10.05.6


midgard_query_result_get_columns ()

MidgardQueryColumn ** midgard_query_result_get_columns  (MidgardQueryResult *self,
                                                         guint *n_objects,
                                                         GError **error);

self :

MidgardQueryResult instance

n_objects :

pointer to store number of returned objects

error :

pointer to store returned error

Returns :

array of MidgardQueryColumn columns available in this result or NULL. [element-type MidgardQueryColumn][array length=n_objects][transfer full]

Since 10.05.6


midgard_query_result_get_column_names ()

gchar **            midgard_query_result_get_column_names
                                                        (MidgardQueryResult *self,
                                                         guint *n_names,
                                                         GError **error);

self :

MidgardQueryResult instance

n_names :

pointer to store number of returned names

error :

pointer to store returned error

Returns :

array of column names available in this result or NULL. [transfer container][array length=n_names]

Since 10.05.6


midgard_query_result_get_rows ()

MidgardQueryRow **  midgard_query_result_get_rows       (MidgardQueryResult *self,
                                                         guint *n_objects,
                                                         GError **error);

self :

MidgardQueryResult instance

n_objects :

pointer to store number of returned objects

error :

pointer to store returned error

Returns :

array of MidgardQueryRow rows available in this result or NULL. [element-type MidgardQueryRow][array length=n_objects][transfer full]

Since 10.05.6