Sends to the DBMS the sql query contained in the sql_statement parameter.
The string containing the sql statement to execute. Parts of the string must be escaped (with method.db.Escape method) if contain single quote character ("'").
The type of cursor result of the operation. Possible types are: db.dynamicMode: the cursor is dynamic, data is retrieved from the DBMS in multiple requests db.staticMode: the cursor is static, data is retrieved from the DBMS in a single request db.defaultMode: best mode is choosen by the driver
The number of rows requested at every Fetch in order to cache records returned by the DBMS
If this parameter is set to true, the cursor is disposed before returning from Exec
A cursor id to use in subsequent calls of db class
For DBMSs that require prepares, Biferno prepares the query internally
When the generic error error.db.ErrDBMSError is returned the real error is contained in the property.error.subErr and property.error.subErrDescr properties of global err error.db.ErrBadCursorMode is returned if an invalid cursor mode is passed to the function