pub fn get_one_sided_private_friendship_connections(
cx: FunctionContext<'_>
) -> JsResult<'_, JsArray>
Expand description
Function to get one sided private friendship connections for user from the graph state (getOneSidedPrivateFriendshipConnections)
Arguments
cx
- Neon FunctionContextgraph_state_id
- Unique identifier for the graph statedsnp_user_id
- DSNP user id
Returns
JsResult<JsArray>
- Neon JsArray containing the connections which is list of DSNPGraphEdge
Errors
- Throws a Neon error