The returned value will be one of the following:
- NEO4J_READ_ONLY_STATEMENT
- NEO4J_WRITE_ONLY_STATEMENT
- NEO4J_READ_WRITE_STATEMENT
- NEO4J_SCHEMA_UPDATE_STATEMENT
- NEO4J_CONTROL_STATEMENT
@attention As the statement type is only available at the end of the result
stream, invoking this function will will result in any unfetched results
being pulled from the server and held in memory. It is usually better to
exhaust the stream using neo4j_fetch_next() before invoking this
method.
@param results The result stream.
@return The statement type, or -1 on error (errno will be set).
Return the statement type for the result stream.
The returned value will be one of the following: - NEO4J_READ_ONLY_STATEMENT - NEO4J_WRITE_ONLY_STATEMENT - NEO4J_READ_WRITE_STATEMENT - NEO4J_SCHEMA_UPDATE_STATEMENT - NEO4J_CONTROL_STATEMENT
@attention As the statement type is only available at the end of the result stream, invoking this function will will result in any unfetched results being pulled from the server and held in memory. It is usually better to exhaust the stream using neo4j_fetch_next() before invoking this method.
@param results The result stream. @return The statement type, or -1 on error (errno will be set).