Midgard2 Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
struct MidgardSqlQueryConstraint; struct MidgardSqlQueryConstraintClass; MidgardSqlQueryConstraint * midgard_sql_query_constraint_new (MidgardSqlQueryColumn *column
,const gchar *op
,MidgardQueryHolder *holder
); MidgardSqlQueryColumn * midgard_sql_query_constraint_get_column (MidgardSqlQueryConstraint *self
); void midgard_sql_query_constraint_set_column (MidgardSqlQueryConstraint *self
,MidgardSqlQueryColumn *column
,GError **error
); const gchar * midgard_sql_query_constraint_get_operator (MidgardSqlQueryConstraint *self
); void midgard_sql_query_constraint_set_operator (MidgardSqlQueryConstraint *self
,const gchar *op
,GError **error
); MidgardQueryHolder * midgard_sql_query_constraint_get_holder (MidgardSqlQueryConstraint *self
);
MidgardSqlQueryConstraint implements MidgardQueryConstraintSimple and MidgardValidable.
"column" MidgardSqlQueryColumn* : Read / Write "holder" MidgardQueryHolder* : Read / Write "operator" gchar* : Read / Write
struct MidgardSqlQueryConstraintClass { GObjectClass parent; MidgardQueryConstraintSimple **(*list_constraints) (MidgardSqlQueryConstraint *self, guint *n_objects); };
MidgardSqlQueryConstraint * midgard_sql_query_constraint_new (MidgardSqlQueryColumn *column
,const gchar *op
,MidgardQueryHolder *holder
);
|
MidgardSqlQueryColumn instance |
|
constraint operator |
|
MidgardQueryHolder instance |
Returns : |
new MidgardSqlQueryConstraint instance, or NULL on failure |
Since 10.05.6
MidgardSqlQueryColumn * midgard_sql_query_constraint_get_column
(MidgardSqlQueryConstraint *self
);
|
MidgardSqlQueryConstraint instance |
Returns : |
MidgardSqlQueryColumn associated with constraint or NULL . [transfer full]
|
Since 10.05.6
void midgard_sql_query_constraint_set_column (MidgardSqlQueryConstraint *self
,MidgardSqlQueryColumn *column
,GError **error
);
|
MidgardSqlQueryConstraint instance |
|
MidgardSqlQueryColumn to associate with self constraint |
|
pointer to store returned error |
Since 10.05.6
const gchar * midgard_sql_query_constraint_get_operator
(MidgardSqlQueryConstraint *self
);
|
MidgardSqlQueryConstraint instance |
Returns : |
operator type associated with self constraint, or NULL . [transfer none]
|
Since 10.05.6
void midgard_sql_query_constraint_set_operator (MidgardSqlQueryConstraint *self
,const gchar *op
,GError **error
);
Check midgard_query_constraint_new()
for valid operator types.
|
MidgardSqlQueryConstraint instance |
|
operator to associate with constraint |
|
pointer to store returned error |
Since 10.05.6
MidgardQueryHolder * midgard_sql_query_constraint_get_holder
(MidgardSqlQueryConstraint *self
);
|
MidgardSqlQueryConstraint instance |
Returns : |
MidgardQueryHolder associated with self constraint, or NULL . [transfer full]
|
Since 10.05.6