Function SafePrepared.setNullArg

Sets a prepared statement parameter to NULL.

deprecated void setNullArg (
  ulong index
) @safe;

This is here mainly for legacy reasons. You can set a field to null simply by saying prepared.setArg(index, null);

Type Mappings

See the MySQL/D Type Mappings tables

Parameters

NameDescription
index The zero based index