persistent-2.14.5.1: Type-safe, multi-backend data serialization.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Database.Persist.SqlBackend.Internal.StatementCache

Synopsis

Documentation

data StatementCache Source #

A statement cache used to lookup statements that have already been prepared for a given query.

Since: 2.13.3

newtype StatementCacheKey Source #

Constructors

StatementCacheKey 

Fields

mkCacheKeyFromQuery :: Text -> StatementCacheKey Source #

Construct a StatementCacheKey from a raw SQL query.