Skip to content

bytea is not implemented #61

@jonaskello

Description

@jonaskello

I want to store binary data in a postgres database. For space saving I don't want to store it as a text field (base64 encoded). So I created a column of type bytea (which seemed like the correct type, although I have not used postgres a lot so not sure). Next I tried to execute an INSERT command with a parameter as a Uint8List but it threw an exception "Postgresql array types not implemented yet.".

I could do some work on this and create a pull request but I would need some pointers on how it should be implemented. Specifically about the function String encodeArray(List value) in type_converter.dart. I understand it needs to encode the incoming List to a string, but not sure of the format it should return.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions