| Top |
| XbQuery * | xb_query_new () |
| const gchar * | xb_query_get_xpath () |
| guint | xb_query_get_limit () |
| void | xb_query_set_limit () |
| gboolean | xb_query_bind_str () |
| gboolean | xb_query_bind_val () |
XbQuery * xb_query_new (XbSilo *silo,const gchar *xpath,GError **error);
Creates a query to be used by silo
. It may be quicker to create a query
manually and re-use it multiple times.
Since: 0.1.4
const gchar *
xb_query_get_xpath (XbQuery *self);
Gets the XPath string that created the query.
Since: 0.1.4
guint
xb_query_get_limit (XbQuery *self);
Gets the results limit on this query, where 0 is 'all'.
Since: 0.1.4
void xb_query_set_limit (XbQuery *self,guint limit);
Sets the results limit on this query, where 0 is 'all'.
Since: 0.1.4
gboolean xb_query_bind_str (XbQuery *self,guint idx,const gchar *str,GError **error);
Assigns a string to a bound value specified using ?.
Since: 0.1.4