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.prepared, mysql.safe.prepared, or mysql.unsafe.prepared. This module will be removed in a future version without deprecation.

See the Safe Migration document for more details.

Functions

NameDescription
unsafe(p) Allow conversion to UnsafePrepared from SafePrepared.

Structs

NameDescription
ParameterSpecializationImpl A struct to represent specializations of prepared statement parameters.
SafePrepared Encapsulation of a prepared statement.
UnsafePrepared Unsafe wrapper for SafePrepared.

Aliases

NameTypeDescription
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.