Schema.indexOf

Nullable!size_t indexOf(string name) const @safe pure

Finds the position of a field by name.

Parameters

namethe column name to find

Returns

the column index, or Nullable.init when absent.