treedb_topic_pkey2s()

treedb_topic_pkey2s()#

treedb_topic_pkey2s() returns a list of primary key secondary values (pkey2s) for a given topic in the tree database.

Prototype

json_t *treedb_topic_pkey2s(
    json_t      *tranger,
    const char  *topic_name
);

Parameters

Key

Type

Description

tranger

json_t *

A reference to the tranger database instance.

topic_name

const char *

The name of the topic whose pkey2s values are to be retrieved.


Return Value

A JSON list containing the pkey2s values of the specified topic. The returned value is not owned by the caller.

Notes

The returned list should not be modified or freed by the caller.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples