|
KDBC
Unified C Database Connectivity — SQLite, PostgreSQL, MariaDB, Oracle, MSSQL
|
Functions | |
| int | kdbc_add_batch (kdbc_stmt *stmt) |
| Add current parameters as a batch entry. | |
| int | kdbc_execute_batch (kdbc_stmt *stmt) |
| Execute all batched parameter sets. | |
Execute multiple parameter sets in a single statement.
| int kdbc_add_batch | ( | kdbc_stmt * | stmt | ) |
Add current parameters as a batch entry.
After calling this, bind new parameter values and call again for the next row. Finally call kdbc_execute_batch() to execute all rows.
| stmt | A prepared statement with parameters bound. |
| int kdbc_execute_batch | ( | kdbc_stmt * | stmt | ) |
Execute all batched parameter sets.
| stmt | A prepared statement with batched entries. |