Function dsnp_graph_sdk_node::api::get_connections_without_keys
source · pub fn get_connections_without_keys(
cx: FunctionContext<'_>
) -> JsResult<'_, JsArray>Expand description
Function to get connections for user from the graph state (getConnectionsWithoutKeys)
Arguments
cx- Neon FunctionContextgraph_state_id- Unique identifier for the graph state
Returns
JsResult<JsArray>- Neon JsArray containing the connections which is list of DSNPGraphEdge
Errors
- Throws a Neon error