{"repo":"supabase-community/postgrest-go","free":true,"listed":false,"github":"https://github.com/supabase-community/postgrest-go","clone":"git clone https://github.com/supabase-community/postgrest-go.git","description":"Isomorphic Go client for PostgREST.","language":"Go","stars":229,"topics":["postgrest","go","database","rest-api","sponsors","watch","golang","hacktoberfest"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"Postgrest GO Golang client for PostgREST. The goal of this library is to make an \"ORM-like\" restful interface. Documentation Full documentation can be found here. Installation Version compatibility go get without a version installs the latest tagged release (currently v0.0.12 ). The main branch has a newer API with generics, structured responses, and context-aware Execute methods. Install command API --- --- go get github.com/supabase-community/postgrest-go v0.0.12 — Select(columns, count, head) , Execute() returns ([]byte, int64, error) go get github.com/supabase-community/postgrest-go@main main — Select(columns, opts) , Execute(ctx) returns PostgrestResponse The examples below (except Basic usage v0.0.12) require the main branch: Quick Start Basic usage (v0.0.12) {#basic-usage-v012} If you installed the default release tag, use this API: Basic Usage (main branch) Select with Filters Insert Data Update Data Delete Data Upsert Data RPC (Remote Procedure Call) Advanced Filtering Single Result ExecuteTo (Unmarshal directly) Schema Selection Error Handling Throw on Error API Reference Client Methods - NewClient(url, schema, headers) - Create a new client - From(table) - Start a query on a table - Rpc(function, args, opts) - Call a PostgreSQL function - Schema(schema) - Switch to a different schema - SetApiKey(key) - Set API key header - SetAuthToken(token) - Set authorization token - ChangeSchema(schema) - Change schema for subsequent requests QueryBuilder Methods - Select(colum","default_branch":null,"files":null,"tree":[],"storefront":"/r/supabase-community","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/supabase-community/postgrest-go/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}