Connection.Prepare Method
Creates prepared statement object taking in sql string.
Parameters
- sql
- SQL query string for thee prepared statement.
Parameters can be represented as ? or as $0, $1, etc.
Returns
- EinhugurDuckDB.PreparedStatement
- PreparedStatement object or nil if there was error.
Remarks
If error occurs then the function will return nil and the error properties will leave clues.
See Also
Connection Class