Database.Groundhog.Generic

Migration

createMigration

executeMigration

executeMigrationUnsafe

getQueries

runMigration

runMigrationUnsafe

printMigration

mergeMigrations

silentMigrationLogger

defaultMigrationLogger

failMessage

Helpers for running Groundhog actions

class HasConn m cm conn

runDb

runDbConn

withSavepoint

Helper functions for defining *PersistValue instances

primToPersistValue

primFromPersistValue

primToPurePersistValues

primFromPurePersistValues

primToSinglePersistValue

primFromSinglePersistValue

pureToPersistValue

pureFromPersistValue

singleToPersistValue

singleFromPersistValue

toSinglePersistValueUnique

fromSinglePersistValueUnique

toPersistValuesUnique

fromPersistValuesUnique

toSinglePersistValueAutoKey

fromSinglePersistValueAutoKey

Other

bracket

finally

onException

data PSFieldDef

applyDbTypeSettings

findOne

replaceOne

matchElements

haveSameElems

mapAllRows

phantomDb

isSimple