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]
[Query] - () "Connection Pool" : "\t"
[Plan] -u-> [Schema Cache]:uses
[Query] -u-> [Schema Cache]:uses
[Schema Cache] <- () Listener : reloads
() HTTP as HTTPADMIN
[Admin] -r- () HTTPADMIN
[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
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" {
node "API schema" as API {
rectangle "Functions, Views"
}
node Authorization {
rectangle "Roles, GRANT, RLS"
}
node API {
rectangle "Functions, Views"
}
rectangle "Tables, extensions" as tbs
API -d- tbs
Authorization -d- tbs
API -[hidden]l- Authorization
}
: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 NamedFieldPuns #-}
-- TODO: This module shouldn't depend on SchemaCache
module PostgREST.ApiRequest
( ApiRequest(..)
, InvokeMethod(..)
+1
View File
@@ -1,5 +1,6 @@
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE RecordWildCards #-}
-- TODO: This module shouldn't depend on SchemaCache
module PostgREST.Query
( QueryResult (..)
, runQuery