MidgardQuerySelector

MidgardQuerySelector

Synopsis

                    MidgardQuerySelector;
MidgardConnection * midgard_query_selector_get_connection
                                                        (MidgardQuerySelector *self);
MidgardQueryResult * midgard_query_selector_get_query_result
                                                        (MidgardQuerySelector *self,
                                                         GError **error);
const gchar *       midgard_query_selector_get_query_string
                                                        (MidgardQuerySelector *self);

Object Hierarchy

  GInterface
   +----MidgardQuerySelector

Prerequisites

MidgardQuerySelector requires GObject.

Known Implementations

MidgardQuerySelector is implemented by MidgardSqlQuerySelectData.

Description

Details

MidgardQuerySelector

typedef struct _MidgardQuerySelector MidgardQuerySelector;


midgard_query_selector_get_connection ()

MidgardConnection * midgard_query_selector_get_connection
                                                        (MidgardQuerySelector *self);

self :

MidgardQuerySelector instance

Returns :

MidgardConnection or NULL. [transfer full]

Since 10.05.6


midgard_query_selector_get_query_result ()

MidgardQueryResult * midgard_query_selector_get_query_result
                                                        (MidgardQuerySelector *self,
                                                         GError **error);

self :

MidgardQuerySelector instance

error :

pointer to store error

Returns :

MidgardQueryResult or NULL on failure. [transfer full]

Since 10.05.6


midgard_query_selector_get_query_string ()

const gchar *       midgard_query_selector_get_query_string
                                                        (MidgardQuerySelector *self);

To get query string, execute() must be invoked first. This method doesn't do any validation of a query.

self :

MidgardQuerySelector instance

Returns :

query string or NULL. [transfer none]

Since 10.05.6