tranger2_dict_topic_desc_cols()
#
tranger2_dict_topic_desc_cols()
retrieves the column descriptions of a specified topic in dictionary format.
Prototype
json_t *tranger2_dict_topic_desc_cols(
json_t *tranger,
const char *topic_name
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
A reference to the TimeRanger database instance. |
|
|
The name of the topic whose column descriptions are to be retrieved. |
Return Value
A JSON object containing the column descriptions of the specified topic. The caller must decrement the reference count of the returned JSON object.
Notes
This function is similar to tranger2_list_topic_desc_cols()
, but returns the data in dictionary format instead of a list.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples