docs: remove schema cache dep from Query

This commit is contained in:
steve-chavez
2024-04-10 19:35:23 -05:00
committed by Steve Chavez
parent 4bcd6725fe
commit b88191299f
4 changed files with 14 additions and 10 deletions
+12 -9
View File
@@ -8,31 +8,34 @@ package "PostgREST" {
[Plan] -r.> [Query] [Plan] -r.> [Query]
[Query] - () "Connection Pool" : "\t" [Query] - () "Connection Pool" : "\t"
[Plan] -u-> [Schema Cache]:uses [Plan] -u-> [Schema Cache]:uses
[Query] -u-> [Schema Cache]:uses
[Schema Cache] <- () Listener : reloads [Schema Cache] <- () Listener : reloads
() HTTP as HTTPADMIN () HTTP as HTTPADMIN
[Admin] -r- () HTTPADMIN [Admin] -r- () HTTPADMIN
[Config] -l- () CLI [Config] -l- () CLI
HTTPADMIN -[hidden]r- CLI
Listener -[hidden]r- [Schema Cache]
[Schema Cache] <-l[hidden]- [Config]
[Schema Cache] -l[hidden]- [Admin]
[Config] <-l~ Listener [Config] <-l~ Listener
HTTPADMIN -[hidden]r- CLI
Listener -[hidden]r- [Schema Cache]
Listener -[hidden]r- [Config]
[Schema Cache] -l[hidden]- [Config]
[Schema Cache] -l[hidden]- [Admin]
[Schema Cache] -l[hidden]- CLI
} }
database "PostgreSQL" { database "PostgreSQL" {
node "API schema" as API {
rectangle "Functions, Views"
}
node Authorization { node Authorization {
rectangle "Roles, GRANT, RLS" rectangle "Roles, GRANT, RLS"
} }
node API {
rectangle "Functions, Views"
}
rectangle "Tables, extensions" as tbs rectangle "Tables, extensions" as tbs
API -d- tbs API -d- tbs
Authorization -d- tbs
API -[hidden]l- Authorization
} }
:user: :user:
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 55 KiB

+1 -1
View File
@@ -4,7 +4,7 @@ Description : PostgREST functions to translate HTTP request to a domain type cal
-} -}
{-# LANGUAGE LambdaCase #-} {-# LANGUAGE LambdaCase #-}
{-# LANGUAGE NamedFieldPuns #-} {-# LANGUAGE NamedFieldPuns #-}
-- TODO: This module shouldn't depend on SchemaCache
module PostgREST.ApiRequest module PostgREST.ApiRequest
( ApiRequest(..) ( ApiRequest(..)
, InvokeMethod(..) , InvokeMethod(..)
+1
View File
@@ -1,5 +1,6 @@
{-# LANGUAGE NamedFieldPuns #-} {-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE RecordWildCards #-} {-# LANGUAGE RecordWildCards #-}
-- TODO: This module shouldn't depend on SchemaCache
module PostgREST.Query module PostgREST.Query
( QueryResult (..) ( QueryResult (..)
, runQuery , runQuery