SafeRow.toStruct

Move the content of the row into a compatible struct

This method takes no account of NULL column values. If a column was NULL, the corresponding MySQLVal value would be unchanged in those cases.

The method will throw if the type of the MySQLVal is not implicitly convertible to the corresponding struct member.

More...
struct SafeRow
void
toStruct
(
S
)
(
ref S s
)
if (
is(S == struct)
)

Parameters

S

A struct type.

s S

A ref instance of the type

Detailed Description

Type Mappings

$(TYPE_MAPPINGS)

Meta