neo4j_peek

Peek at a record in the result stream.

@attention The pointer to the result will only remain valid until it is retreived via neo4j_fetch_next() or until the result stream is closed. To hold the result longer, use neo4j_retain() and neo4j_release().

@attention All results up to the specified depth will be retrieved and held in memory. Avoid using this method with large depths.

@param results The result stream. @param depth The depth to peek into the remaining records in the stream. @return The result at the specified depth, or NULL if the stream is exahusted or an error has occurred (errno will be set).

extern (C)
neo4j_peek

Meta