mysql-native v1.2.0

API Reference Home: [This Version] [Latest Version] [Other Versions]


Struct Prepared

Encapsulation of a prepared statement.

struct Prepared ;

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

NameTypeDescription
preparedImpl std.typecons.__T10RefCountedTS5mysql8prepared12PreparedImplVE3std8typecons24RefCountedAutoInitializei0Z.RefCounted

Properties

NameTypeDescription
isPrepared[get] bool