Giter Club home page Giter Club logo

Comments (4)

kiwicopple avatar kiwicopple commented on May 12, 2024

need to test whether this should be wrapped as a string or not

Should be a plain array:
https://github.com/supabase/postgrest-js/blob/3eca6e8459630bd959355fad1b48e5ee31b33bf7/src/utils/Filters.js#L158

Not sure why it's failing, tests seem to be OK:
https://github.com/supabase/postgrest-js/blob/master/README.md#status

from supabase.

awalias avatar awalias commented on May 12, 2024

this is the error

      text: '{"details":"unexpected \\"2\\" expecting \\"(\\"","message":"\\"failed to parse filter (in.2,3)\\" (line 1, column 4)"}',
      method: 'GET',
      path: '/rest/v1/users?apikey=examplekey&id=in.2,3&select=%2A'

from supabase.

awalias avatar awalias commented on May 12, 2024

ok so looks like it should be getting wrapped with parenthesis like:
http://localhost:8000/rest/v1/users?apikey=examplekey&id=in.(2,3)&select=*

from supabase.

kiwicopple avatar kiwicopple commented on May 12, 2024

Fixed in [email protected]

from supabase.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.