-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Feature request
ChangeSchema function required to work with different schemas
Describe the solution you'd like
rest field is private for some reason in the supabase.Client
type Client struct {
// Why is this a private field??
rest *postgrest.Client
....
}
So it is not possible to write a wrapper function as well. Hence providing a ChangeSchema function would help change the schema once the client is initialised
func (c *Client) ChangeSchema(schema string) (*Client, error) {
c.rest = c.rest.ChangeSchema(schema)
return c
}
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request