Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[0:2]={1,2,3} is parsed as [ '[0:2]=1', '2', '3' ] #2

@ahultgren

Description

@ahultgren

Expected: ['1', '2', '3']

I have no idea why postgres is returning this particular syntax for my query, but I think it should be supported. I would have submitted a pull-request, but unfortunately I couldn't understand of your code :)

A temporary workaround is btw to wrap the array in array_to_json, but performance seems to be awful.

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