ContentsIndex
Framework.API.SQL
Contents
Storage/SQL API
Synopsis
queryListSQL :: Query -> [SqlValue] -> AController [[SqlValue]]
queryListSQL' :: Query -> [SqlValue] -> AController [[SqlValue]]
querySQL :: Query -> [SqlValue] -> Model -> AController [Model]
querySQL' :: Query -> [SqlValue] -> Model -> AController [Model]
selectRelated :: [Model] -> AController [Model]
Storage/SQL API
queryListSQL :: Query -> [SqlValue] -> AController [[SqlValue]]
Same as queryList, but gets Query instead of plain SQL
queryListSQL' :: Query -> [SqlValue] -> AController [[SqlValue]]
Same, but strict.
querySQL :: Query -> [SqlValue] -> Model -> AController [Model]
Same as query, but gets Query object instead of plain SQL
querySQL' :: Query -> [SqlValue] -> Model -> AController [Model]
Same, but strict.
selectRelated :: [Model] -> AController [Model]
Select related (children) records for each model in the list. This will do one DB query for each list item. After this, templates can use children function.
Produced by Haddock version 2.4.2