napkin-0.5.14
Copyright(c) Soostone Inc 2020
LicenseAllRightsReserved
Stabilityexperimental
PortabilityPOSIX
Safe HaskellSafe-Inferred
LanguageGHC2021

Napkin.Spec.Persist

Description

 
Synopsis

Documentation

data History #

Constructors

History 

recordedRun :: (HasBackendQueryStats bk, Typeable bk, ToDbBackend bk) => MetadataBeamConnection -> AppName -> Pipeline -> SpecRunId -> SpecTableName -> Specs bk -> DepChain -> Combo bk (a, CreateQueryStats bk, Maybe (HookQueryStats bk)) -> Combo bk (Either SomeException (a, (NominalDiffTime, CreateQueryStats bk, Maybe (HookQueryStats bk)))) #

Do a run, recording the instance in the database. Return the recorded instance along with the run results.