update doc comments for cozo_run_query

main
Michael Bradley, Jr. 12 months ago
parent a40340a098
commit 02afa95240
No known key found for this signature in database
GPG Key ID: D0307DBCF21A9A58

@ -53,8 +53,7 @@ bool cozo_close_db(int32_t db_id);
* in JSON format. You must always pass in a valid JSON map,
* even if you do not use params in your query
* (pass "{}" in this case).
* `errored`: will point to `false` if the query is successful,
* `true` if an error occurred.
* `immutable_query`: whether the query is read-only.
*
* Returns a UTF-8-encoded C-string that **must** be freed with `cozo_free_str`.
* The string contains the JSON return value of the query.

@ -97,8 +97,7 @@ pub unsafe extern "C" fn cozo_close_db(db_id: i32) -> bool {
/// in JSON format. You must always pass in a valid JSON map,
/// even if you do not use params in your query
/// (pass "{}" in this case).
/// `errored`: will point to `false` if the query is successful,
/// `true` if an error occurred.
/// `immutable_query`: whether the query is read-only.
///
/// Returns a UTF-8-encoded C-string that **must** be freed with `cozo_free_str`.
/// The string contains the JSON return value of the query.

Loading…
Cancel
Save