It would be useful if Skunk exposed a built-in _uuid codec alongside uuid, similar to the existing array codecs like _int8 and _text.
I use this for batching queries with WHERE id = ANY($1::uuid[]) and this currently needs either dynamic uuid.list(...) SQL or a small custom Codec.array[UUID](...), while scalar UUIDs are already supported via uuid.
This would make UUID batch queries consistent with the existing numeric/text array codec APIs.
It would be useful if Skunk exposed a built-in
_uuidcodec alongside uuid, similar to the existing array codecs like_int8and_text.I use this for batching queries with
WHERE id = ANY($1::uuid[])and this currently needs either dynamicuuid.list(...)SQL or a small customCodec.array[UUID](...), while scalar UUIDs are already supported viauuid.This would make UUID batch queries consistent with the existing numeric/text array codec APIs.