Module mysql.impl.prepared
Implementation - Prepared statements.
WARNING
This module is used to consolidate the common implementation of the safe and
unafe API. DO NOT directly import this module, please import one of
mysql
, mysql
, or mysql
. This
module will be removed in a future version without deprecation.
See the Safe Migration document for more details.
Functions
Name | Description |
---|---|
unsafe(p)
|
Allow conversion to UnsafePrepared from SafePrepared. |
Structs
Name | Description |
---|---|
ParameterSpecializationImpl
|
A struct to represent specializations of prepared statement parameters. |
SafePrepared
|
Encapsulation of a prepared statement. |
UnsafePrepared
|
Unsafe wrapper for SafePrepared. |
Aliases
Name | Type | Description |
---|---|---|
SafeParameterSpecialization
|
ParameterSpecializationImpl!(true)
|
A struct to represent specializations of prepared statement parameters. |
SPSN
|
ParameterSpecializationImpl!(true)
|
A struct to represent specializations of prepared statement parameters. |
UnsafeParameterSpecialization
|
ParameterSpecializationImpl!(false)
|
A struct to represent specializations of prepared statement parameters. |
UPSN
|
ParameterSpecializationImpl!(false)
|
A struct to represent specializations of prepared statement parameters. |