![]() |
![]() |
![]() |
GNOME Data Access 4 manual | ![]() |
---|---|---|---|---|
Top | Description |
const gchar * gda_server_operation_get_sequence_name (GdaServerOperation *op
,const gchar *path
); guint gda_server_operation_get_sequence_size (GdaServerOperation *op
,const gchar *path
); guint gda_server_operation_get_sequence_max_size (GdaServerOperation *op
,const gchar *path
); guint gda_server_operation_get_sequence_min_size (GdaServerOperation *op
,const gchar *path
); gchar ** gda_server_operation_get_sequence_item_names (GdaServerOperation *op
,const gchar *path
); guint gda_server_operation_add_item_to_sequence (GdaServerOperation *op
,const gchar *seq_path
); gboolean gda_server_operation_del_item_from_sequence (GdaServerOperation *op
,const gchar *item_path
);
const gchar * gda_server_operation_get_sequence_name (GdaServerOperation *op
,const gchar *path
);
|
a GdaServerOperation object |
|
a complete path to a sequence node (starting with "/") |
Returns : |
the name of the sequence at path . [transfer none]
|
guint gda_server_operation_get_sequence_size (GdaServerOperation *op
,const gchar *path
);
|
a GdaServerOperation object |
|
a complete path to a sequence node (starting with "/") |
Returns : |
the number of items in the sequence at path , or 0 if path is not a sequence node |
guint gda_server_operation_get_sequence_max_size (GdaServerOperation *op
,const gchar *path
);
|
a GdaServerOperation object |
|
a complete path to a sequence node (starting with "/") |
Returns : |
the maximum number of items in the sequence at path , or 0 if path is not a sequence node |
guint gda_server_operation_get_sequence_min_size (GdaServerOperation *op
,const gchar *path
);
|
a GdaServerOperation object |
|
a complete path to a sequence node (starting with "/") |
Returns : |
the minimum number of items in the sequence at path , or 0 if path is not a sequence node |
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")
|
a GdaServerOperation object |
|
a complete path to a sequence node (starting with "/") |
Returns : |
a array of strings containing the complete paths of the nodes contained at path (free with g_strfreev() ). [transfer full]
|
guint gda_server_operation_add_item_to_sequence (GdaServerOperation *op
,const gchar *seq_path
);
|
a GdaServerOperation object |
|
the path to the sequence to which an item must be added (like "/SEQ_NAME" for instance) |
Returns : |
the index of the new entry in the sequence (like 5 for example if a 6th item has been added to the sequence. |
gboolean gda_server_operation_del_item_from_sequence (GdaServerOperation *op
,const gchar *item_path
);
|
a GdaServerOperation object |
|
the path to the sequence's item to remove (like "/SEQ_NAME/5" for instance) |
Returns : |
TRUE if the specified node has been removed from the sequence |