pub fn get_connections_for_user_graph(
    cx: FunctionContext<'_>
) -> JsResult<'_, JsArray>
Expand description

Function to get connections for user from the graph state (getConnectionsForUserGraph)

Arguments

  • cx - Neon FunctionContext
  • graph_state_id - Unique identifier for the graph state
  • dsnp_user_id - DSNP user id

Returns

  • JsResult<JsArray> - Neon JsArray containing the connections which is list of DSNPGraphEdge

Errors

  • Throws a Neon error