Repository
Current version released
3 years ago
Versions
postgrest-js
Isomorphic JavaScript client for PostgREST. The goal of this library is to make an “ORM-like” restful interface. This is a deno port of postgrest-js
Isomorphic JavaScript client for PostgREST. The goal of this library is to make an “ORM-like” restful interface.
Full documentation can be found here.
Quick start
Usage
import { PostgrestClient } from 'https://deno.land/x/postgrest/mod.ts'
const REST_URL = 'http://localhost:3000'
const postgrest = new PostgrestClient(REST_URL)
- select(): https://supabase.io/docs/reference/javascript/select
- insert(): https://supabase.io/docs/reference/javascript/insert
- update(): https://supabase.io/docs/reference/javascript/update
- delete(): https://supabase.io/docs/reference/javascript/delete
fetch
implementation
Custom This deno port uses the native fetch implementation and thus does not support custom fetch implementations.
License
This repo is liscenced under MIT.
Credits
- https://github.com/calebmer/postgrest-client - originally forked and adapted from @calebmer’s library