persistent-2.13.3.5: Type-safe, multi-backend data serialization.
Safe Haskell None
Language Haskell2010

Database.Persist.SqlBackend.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

data MkStatementCache Source #

Configuration parameters for creating a custom statement cache

Since: 2.13.3

Constructors

MkStatementCache

Fields

mkSimpleStatementCache :: IORef ( Map Text Statement ) -> MkStatementCache Source #

Make a simple statement cache that will cache statements if they are not currently cached.

Since: 2.13.3

mkStatementCache :: MkStatementCache -> StatementCache Source #

Create a statement cache.

Since: 2.13.0