Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data StatementCache = StatementCache {
- statementCacheLookup :: StatementCacheKey -> IO (Maybe Statement)
- statementCacheInsert :: StatementCacheKey -> Statement -> IO ()
- statementCacheClear :: IO ()
- statementCacheSize :: IO Int
- newtype StatementCacheKey = StatementCacheKey {}
- mkCacheKeyFromQuery :: Text -> StatementCacheKey
Documentation
data StatementCache Source #
A statement cache used to lookup statements that have already been prepared for a given query.
Since: 2.13.3
StatementCache | |
|
newtype StatementCacheKey Source #
mkCacheKeyFromQuery :: Text -> StatementCacheKey Source #
Construct a StatementCacheKey
from a raw SQL query.