Skip to content

eq does not work when your field name is "apikey" #203

Closed
@Akiren

Description

If your table has a field called "apikey" queries will always be truthy regardless of if they really are

data = supabase.table('users').select('email, api_key').eq('api_key', 'fakekey').execute().dict()

data will always return data... Found the javascript issue after 2.5 hours of questioning the nature of reality.

This bug existed and was fixed in the javascript version of supabase
supabase/supabase#5465

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions