postgrest-0.2.12.1: REST API for any Postgres database
PostgREST.PgStructure
doesProcExist :: Text -> Text -> Tx Postgres s Bool Source
tableFromRow :: (Text, Text, Bool, Maybe Text) -> Table Source
columnFromRow :: (Text, Text, Text, Int, Bool, Text, Bool, Maybe Int, Maybe Int, Maybe Text, Maybe Text) -> Column Source
relationFromRow :: (Text, Text, [Text], Text, [Text]) -> Relation Source
pkFromRow :: (Text, Text, Text) -> PrimaryKey Source
addParentRelation :: Relation -> [Relation] -> [Relation] Source
allTables :: Tx Postgres s [Table] Source
allRelations :: Tx Postgres s [Relation] Source
allColumns :: [Relation] -> Tx Postgres s [Column] Source
allPrimaryKeys :: Tx Postgres s [PrimaryKey] Source