This is enabled by adding `!inner` to the embedded resource /projects?select=*,clients!inner(*)&clients.id=eq.12 This behaviour can be enabled by default with the config option db-embed-default-join='inner' Which saves the need for specifying `!inner` on every request. If this is enabled, the previous behavior can be restored per request by specifying `!left` on the embedded resource. /projects?select=*,clients!left(*)&clients.id=eq.12` Tested on M20/02M/M2M relationships, views, RPC.
30 lines
966 B
Plaintext
30 lines
966 B
Plaintext
db-anon-role = "postgrest_test_anonymous"
|
|
db-channel = "postgrest"
|
|
db-channel-enabled = false
|
|
db-extra-search-path = "public,extensions,other"
|
|
db-max-rows = 100
|
|
db-pool = 1
|
|
db-pool-timeout = 100
|
|
db-pre-request = "test.other_custom_headers"
|
|
db-prepared-statements = false
|
|
db-root-spec = "other_root"
|
|
db-schemas = "test,other_tenant1,other_tenant2"
|
|
db-config = "true"
|
|
db-tx-end = "rollback-allow-override"
|
|
db-uri = "<REPLACED_WITH_DB_URI>"
|
|
db-embed-default-join = "inner"
|
|
jwt-aud = "https://otherexample.org"
|
|
jwt-role-claim-key = ".\"other\".\"role\""
|
|
jwt-secret = "ODERREALLYREALLYREALLYREALLYVERYSAFE"
|
|
jwt-secret-is-base64 = true
|
|
log-level = "info"
|
|
openapi-mode = "disabled"
|
|
openapi-server-proxy-uri = "https://otherexample.org/api"
|
|
raw-media-types = "application/vnd.pgrst.other-db-config"
|
|
server-host = "0.0.0.0"
|
|
server-port = 80
|
|
server-unix-socket = "/tmp/pgrst_io_test.sock"
|
|
server-unix-socket-mode = "777"
|
|
app.settings.test = "test"
|
|
app.settings.test2 = "test"
|