Add schema switching support
Our updated PostgREST instances support multiple schemas now. This client does not yet.
Add:
- configuration option for django projects (default schema for the client to use)
-
schema
parameter topgrest_client.configure()
(default schema for the client to use) - context manager to allow temporarily switching to a different schema
- documentation on how to use it in
README.md
.
Should passing the schema
to .get()
and .filter()
also be allowed? E.g.
res = pgrest_client.filter('foo', schema='bar')