Replace the nth index, '? in SQLite' and '$ in Postgres', in the prepared statement with the string.
For Postgresql8, use this method to bind to the postgres 'bytea' type since 'blob' types are not directly supported.
- Parameters
-
index | [ in ] Starts at 1, count from left to right of parameter to replace |
pBlob | [ in ] An array of bytes to be placed into the prepared SQL statement |
length | [ in ] The number of bytes pointed to by pBlob |
- Returns
Success | P6R::eOk | |
Failure | P6R::eNoMemory | Insuffficient memory to properly initialize the component |
P6R::eInvalidArg | pBlob is NULL |
P6R::eBindRange | The index paramter is greater than the last bind position. |