Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support writing into native Postgres array columns #2

Open
motiz88 opened this issue Feb 20, 2016 · 0 comments
Open

Support writing into native Postgres array columns #2

motiz88 opened this issue Feb 20, 2016 · 0 comments

Comments

@motiz88
Copy link
Owner

motiz88 commented Feb 20, 2016

Related to PostgREST/postgrest#501. To match PostgREST's behavior, jsgrest sends array values to the server as JSON ([1,2,3]), never as Postgres array literals ({1,2,3}). This only works when writing to json/jsonb columns and fails when writing to int[] etc.

I hope this can be solved without foreknowledge of the schema but am not sure. Note to self: look into libpqtypes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant