mysql.impl.result

Implementation - Structures for data received: rows and result sets (ie, a range of rows).

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

$(SAFE_MIGRATION)

Public Imports

mysql.types
public import mysql.types;
Undocumented in source.

Members

Functions

safe
SafeRow safe(UnsafeRow r)
Nullable!SafeRow safe(Nullable!UnsafeRow r)
unsafe
UnsafeRow unsafe(SafeRow r)
Nullable!UnsafeRow unsafe(Nullable!SafeRow r)

An UnsafeRow is almost identical to a SafeRow, except that it provides access to its values via Variant instead of MySQLVal. This makes the access unsafe. Only value access is unsafe, every other operation is forwarded to the internal SafeRow.

unsafe
UnsafeResultRange unsafe(SafeResultRange r)

Wrap a SafeResultRange as an UnsafeResultRange.

Structs

SafeResultRange
struct SafeResultRange

An input range of SafeRow.

SafeRow
struct SafeRow

A struct to represent a single row of a result set.

UnsafeResultRange
struct UnsafeResultRange

A wrapper of a SafeResultRange which converts each row into an UnsafeRow.

UnsafeRow
struct UnsafeRow

An UnsafeRow is almost identical to a SafeRow, except that it provides access to its values via Variant instead of MySQLVal. This makes the access unsafe. Only value access is unsafe, every other operation is forwarded to the internal SafeRow.

Meta