MidgardQueryColumn

MidgardQueryColumn

Synopsis

                    MidgardQueryColumn;
MidgardQueryProperty * midgard_query_column_get_query_property
                                                        (MidgardQueryColumn *self,
                                                         GError **error);
const gchar *       midgard_query_column_get_name       (MidgardQueryColumn *self,
                                                         GError **error);
const gchar *       midgard_query_column_get_qualifier  (MidgardQueryColumn *self,
                                                         GError **error);

Object Hierarchy

  GInterface
   +----MidgardQueryColumn

Prerequisites

MidgardQueryColumn requires GObject.

Known Implementations

MidgardQueryColumn is implemented by MidgardSqlQueryColumn.

Description

Details

MidgardQueryColumn

typedef struct _MidgardQueryColumn MidgardQueryColumn;


midgard_query_column_get_query_property ()

MidgardQueryProperty * midgard_query_column_get_query_property
                                                        (MidgardQueryColumn *self,
                                                         GError **error);

self :

MidgardQueryColumn instance

error :

pointer to store error

Returns :

MidgardQueryProperty associated with the column or NULL. [transfer full]

Since 10.05.6


midgard_query_column_get_name ()

const gchar *       midgard_query_column_get_name       (MidgardQueryColumn *self,
                                                         GError **error);

self :

MidgardQueryColumn instance

error :

pointer to store error

Returns :

the name of the column. [transfer none]

Since 10.05.6


midgard_query_column_get_qualifier ()

const gchar *       midgard_query_column_get_qualifier  (MidgardQueryColumn *self,
                                                         GError **error);

Qualifier is a trait, which is a common among particular columns. Usually it is a prefix for column's name (e.g. 'a.id', 'a.title').

self :

MidgardQueryColumn instance

error :

pointer to store error

Returns :

qualifier name or NULL. [transfer none]

Since 10.05.6