Skip to content

Add _uuid array codec #1310

@DarkWingMcQuack

Description

@DarkWingMcQuack

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions