encodeArray method
Implementation
String encodeArray(Iterable value, {String? pgType}) {
final buf = new StringBuffer('array[');
for (final v in value) {
if (buf.length > 6) buf.write(',');
buf.write(encodeValueDefault(v));
}
buf.write(']');
if (pgType != null) buf..write('::')..write(pgType)..write('[]');
return buf.toString();
}