Struct Prepared
Encapsulation of a prepared statement.
Commands that are expected to return a result set - queries - have distinctive
methods that are enforced. That is it will be an error to call such a method
with an SQL command that does not produce a result set. So for commands like
SELECT, use the query
functions. For other commands, like
INSERT/UPDATE/CREATE/etc, use exec
.
Internally, Prepared
simply wraps a PreparedImpl
with
RefCounted
,
and offers access to the PreparedImpl
members via "alias this".
See the PreparedImpl
documentation for the bulk of the Prepared
interface.
Fields
Name | Type | Description |
---|---|---|
preparedImpl
|
std |
Properties
Name | Type | Description |
---|---|---|
isPrepared
[get]
|
bool |
Methods
Name | Description |
---|---|
opAssign
|