Binds a DATE expressed as milliseconds since the Unix epoch.
Binds a typed NULL.
A null bind is exactly type + flag + bitmap. The only types that carry anything more are the ones whose prefix the decoder reads before it branches on the null flag: the DECIMAL scale byte and the GEOHASH precision varint. Variable-width types add nothing -- the decoder's null arm binds the null and never reads the offset bytes -- so a null VARCHAR is three bytes like every other scalar. Binds carry no length prefix and no delimiter, so padding a null VARCHAR with its non-null offset word made the server read that word's first byte as the next bind's type code ("unsupported wire type 0x0"), or, after the last bind, as the trailing queryFlags varint -- silently dropping a requested dictionary reset.
Binds a TIMESTAMP expressed as microseconds since the Unix epoch.
Binds a TIMESTAMP_NS expressed as nanoseconds since the Unix epoch.
Browser-safe typed positional bind encoder.
Setters must be called in ascending zero-based index order. SQL placeholders are one-based, so index 0 binds
$1, index 1 binds$2, and so on.