Skip to content

rest-to-sql for creating unit test with supabase that executes the sql against pglite? #4

@nurulhudaapon

Description

@nurulhudaapon

Feature request

Currently there are no easy way to test supabase queries in unit test. The pg-gateway + pglite still doesn't work with postgrest, even if it does then you have to spin up pg-gateway and postgrest server. So how about just converting the PostgREST query to SQL and then executing against in memory pglite?

This could possiblly be done building something within the Postgrest CLI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions