| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Yggdrasil
Documentation
data YggdrasilEngine Source #
Constructors
| SQLite | |
| PostgreSQL | |
| MySQL |
Instances
Constructors
| Yggdrasil | |
Fields | |
Instances
| Generic Yggdrasil Source # | |||||
Defined in Yggdrasil Associated Types
| |||||
| Show Yggdrasil Source # | |||||
| Eq Yggdrasil Source # | |||||
| (k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "databaseFilePath" k Yggdrasil Yggdrasil a b Source # | |||||
| (k ~ A_Lens, a ~ YggdrasilEngine, b ~ YggdrasilEngine) => LabelOptic "engine" k Yggdrasil Yggdrasil a b Source # | |||||
| (k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "migrationsDirectoryPath" k Yggdrasil Yggdrasil a b Source # | |||||
| (k ~ A_Lens, a ~ Bool, b ~ Bool) => LabelOptic "runMigrations" k Yggdrasil Yggdrasil a b Source # | |||||
| type Rep Yggdrasil Source # | |||||
Defined in Yggdrasil type Rep Yggdrasil = D1 ('MetaData "Yggdrasil" "Yggdrasil" "yggdrasil-schema-1.0.0.6-DRoUoHUc7Xs928lHLTqQwQ" 'False) (C1 ('MetaCons "Yggdrasil" 'PrefixI 'True) ((S1 ('MetaSel ('Just "databaseFilePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "migrationsDirectoryPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "runMigrations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "engine") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 YggdrasilEngine)))) | |||||
data RanMigration Source #
Constructors
| RanMigration Text Int Text UTCTime |
Instances
| Generic RanMigration Source # | |||||
Defined in Yggdrasil Associated Types
| |||||
| Show RanMigration Source # | |||||
Defined in Yggdrasil Methods showsPrec :: Int -> RanMigration -> ShowS # show :: RanMigration -> String # showList :: [RanMigration] -> ShowS # | |||||
| Eq RanMigration Source # | |||||
Defined in Yggdrasil | |||||
| FromRow RanMigration Source # | |||||
Defined in Yggdrasil Methods | |||||
| type Rep RanMigration Source # | |||||
Defined in Yggdrasil type Rep RanMigration = D1 ('MetaData "RanMigration" "Yggdrasil" "yggdrasil-schema-1.0.0.6-DRoUoHUc7Xs928lHLTqQwQ" 'False) (C1 ('MetaCons "RanMigration" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime)))) | |||||
runYggdrasil :: MonadIO m => Yggdrasil -> m () Source #
liftTupleMaybeFromFst :: (Maybe a, b) -> Maybe (a, b) Source #
parseTextToSqlStatements :: Text -> [Text] Source #