execNext -> step

This commit is contained in:
2025-12-15 16:41:19 +05:00
parent ac4f33be1b
commit 58840cecd0
3 changed files with 5 additions and 5 deletions

View File

@@ -57,14 +57,14 @@ void tsqlite_statement_free(tsqlite_statement* st);
/// USAGE:
/// ```
/// while(true){
/// try(bool has_result, i, tsqlite_statement_execNext(st));
/// try(bool has_result, i, tsqlite_statement_step(st));
/// if(!has_result)
/// break;
/// /* get result columns */
/// }
/// ```
/// @return is result row avaliable
Result(bool) tsqlite_statement_execNext(tsqlite_statement* self);
Result(bool) tsqlite_statement_step(tsqlite_statement* self);
/// call this after executing a compiled statement to use it again
Result(void) tsqlite_statement_reset(tsqlite_statement* st);