Creates an hc_pstmt_t for use with the hc_pstmt_query_ez function.
hcerr_t hc_pstmt_create(hc_session_t *session, hc_string_t query, hc_pstmt_t **ptr);
This function creates a prepared statement for use with the hc_pstmt_query_ez function.
rset
Updated to point to the new query result set. See hc_query_result_set_t.
session
IN: session that this query will be used with.
query
IN: Query (where clause with ”?’ for values).
ptr
OUT: Updated to point to opaque hc_pstmt_t.
HCERR_OK HCERR_OOM