Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@ func (c *Client) From(table string) *postgrest.QueryBuilder {
return c.rest.From(table)
}

// Wrap postgrest ChangeSchema method
// ChangeSchema changes the schema of the client.
func (c *Client) ChangeSchema(schema string) *Client {
c.rest = c.rest.ChangeSchema(schema)
return c
}

// Wrap postgrest Rpc method
// Rpc returns a string for the specified function.
func (c *Client) Rpc(name, count string, rpcBody interface{}) string {
Expand Down