Top |
The GdaServerOperation object can contain sequences of templates. For example when creating a table, one can specify several foreign keys where for each foreign key, one must define the column(s) on which the foreign key applies, the referenced table and the corresponding columns of the referenced table (plus some additional information). In this case the foreign keys are defined as a sequence of templates (the foreign key definition): there can be zero or more foreign keys.
const gchar * gda_server_operation_get_sequence_name (GdaServerOperation *op
,const gchar *path
);
op |
a GdaServerOperation object |
|
path |
a complete path to a sequence node (starting with "/") |
guint gda_server_operation_get_sequence_size (GdaServerOperation *op
,const gchar *path
);
op |
a GdaServerOperation object |
|
path |
a complete path to a sequence node (starting with "/") |
guint gda_server_operation_get_sequence_max_size (GdaServerOperation *op
,const gchar *path
);
op |
a GdaServerOperation object |
|
path |
a complete path to a sequence node (starting with "/") |
guint gda_server_operation_get_sequence_min_size (GdaServerOperation *op
,const gchar *path
);
op |
a GdaServerOperation object |
|
path |
a complete path to a sequence node (starting with "/") |
gchar ** gda_server_operation_get_sequence_item_names (GdaServerOperation *op
,const gchar *path
);
Fetch the contents of a sequence. path
can describe either a sequence (for example "/SEQNAME") or an item in a sequence
(for example "/SEQNAME/3")
op |
a GdaServerOperation object |
|
path |
a complete path to a sequence node (starting with "/") |
a array of strings containing the complete paths of the nodes contained at path
(free with g_strfreev()
).
guint gda_server_operation_add_item_to_sequence (GdaServerOperation *op
,const gchar *seq_path
);
op |
a GdaServerOperation object |
|
seq_path |
the path to the sequence to which an item must be added (like "/SEQ_NAME" for instance) |
gboolean gda_server_operation_del_item_from_sequence (GdaServerOperation *op
,const gchar *item_path
);
op |
a GdaServerOperation object |
|
item_path |
the path to the sequence's item to remove (like "/SEQ_NAME/5" for instance) |