Skip to content

Add support for Postgres bit string type #245

@dantswain

Description

@dantswain

I need to use the bit string type (the schema is already established). As a stopgap I can modify my queries to return a string (mybitfield :: text), but it would be nice to have native support.

https://www.postgresql.org/docs/current/static/functions-bitstring.html

The mapped type could be configurable to be an array, map, string, integer, etc.. Integer could be a little tricky for large fields. A map might be the closest native type in spirit - i.e., 101 becomes %{0 => true, 1 => false, 2 => true} and vice versa.

I'd be willing to work on this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions