Hoogle Search
Within LTS Haskell 24.2 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
classy-prelude-yesod ClassyPrelude.Yesod Get all records matching the given criterion in the specified order. Returns also the identifiers. NOTE: This function returns an Acquire and a ConduitM, which implies that it streams from the database. It does not. Please use selectList to simplify the code. If you want streaming behavior, consider persistent-pagination which efficiently chunks a query into ranges, or investigate a backend-specific streaming solution.
-
persistent-mtl Database.Persist.Monad.SqlQueryRep Constructor corresponding to selectSourceRes
-
persistent-mtl Database.Persist.Monad.TestUtils Constructor corresponding to selectSourceRes
-
esqueleto Database.Esqueleto.Internal.Internal (Internal) Execute an esqueleto SELECT SqlQuery inside persistent's SqlPersistT monad.
-
persistent-mtl Database.Persist.Monad.TestUtils A helper for mocking a selectSource or selectSourceRes call. Usage:
mockSelectSource $ \filters opts -> if null filters && null opts then let person1 = [Entity (toSqlKey 1) $ Person "Alice"] person2 = [Entity (toSqlKey 2) $ Person "Bob"] in Just [person1, person2] else Nothing