cache the names of functions returning JWT and avoid extra query on each rpc call

This commit is contained in:
Ruslan Talpa
2016-06-28 12:09:58 +03:00
parent a253ff325d
commit 744bbf7203
3 changed files with 14 additions and 20 deletions
+1
View File
@@ -13,6 +13,7 @@ data DbStructure = DbStructure {
, dbColumns :: [Column]
, dbRelations :: [Relation]
, dbPrimaryKeys :: [PrimaryKey]
, dbProcsReturningJWT :: [Text]
} deriving (Show, Eq)
type Schema = Text