Function toValue

Converts dynamic or static array of supported types to the coresponding PG array type value

Value toValue(T) (
  auto ref T v
)
if (isArrayType!T);