tranger2_topic_size()
#
tranger2_topic_size()
retrieves the total number of records present in a specified topic within the TimeRanger database.
Prototype
uint64_t tranger2_topic_size(
json_t *tranger,
const char *topic_name
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
Pointer to the TimeRanger database instance. |
|
|
Name of the topic whose record count is to be retrieved. |
Return Value
Returns the total number of records in the specified topic as a uint64_t
value.
Notes
If the topic does not exist, the function may return 0
.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples