Copyright | (c) Soostone Inc 2020 |
---|---|
License | AllRightsReserved |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Documentation
class ReifiesBackend b => Backend b where #
data BackendConn b #
backendQuery :: (Katip m, MonadQueryStats m, RenderSql q b) => BackendConn b -> q -> m [Map Text Value] #
backendExecute :: (Katip m, MonadQueryStats m, RenderSql q b) => BackendConn b -> q -> m () #
Instances
class MonadBaseControl IO m => MonadQueryStats m where #
updateTrackingQueryStats :: TrackingQueryStats -> m () #
updateTableQueryStats :: Ref Table -> StatsType -> QueryStats -> m () #
updateHookQueryStats :: QueryStats -> m () #
updateUnassociatedQueryStats :: QueryStats -> m () #
Instances
class Command command return backend | command backend -> return where #
execCommand :: (Katip m, MonadQueryStats m) => BackendConn backend -> command -> m return #
Instances
getTempTableName :: MonadIO m => m (Ref b) #