| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Database.Trek.Run
Documentation
Constructors
| CouldNotParseMigration FilePath | |
| DirectoryDoesNotExist FilePath |
Instances
| Eq Errors Source # | |
| Show Errors Source # | |
| Exception Errors Source # | |
Defined in Database.Trek.Run Methods toException :: Errors -> SomeException # fromException :: SomeException -> Maybe Errors # displayException :: Errors -> String # | |
withOptions :: Options -> (Connection -> IO a) -> IO a Source #
newtype OutputMigration Source #
Constructors
| OutputMigration OutputMigration |
Instances
| ToJSON OutputMigration Source # | |
Defined in Database.Trek.Run Methods toJSON :: OutputMigration -> Value # toEncoding :: OutputMigration -> Encoding # toJSONList :: [OutputMigration] -> Value # toEncodingList :: [OutputMigration] -> Encoding # | |
newtype OutputGroup Source #
Constructors
| OutputGroup OutputGroup |
Instances
| Eq OutputGroup Source # | |
Defined in Database.Trek.Run | |
| Show OutputGroup Source # | |
Defined in Database.Trek.Run Methods showsPrec :: Int -> OutputGroup -> ShowS # show :: OutputGroup -> String # showList :: [OutputGroup] -> ShowS # | |
| ToJSON OutputGroup Source # | |
Defined in Database.Trek.Run Methods toJSON :: OutputGroup -> Value # toEncoding :: OutputGroup -> Encoding # toJSONList :: [OutputGroup] -> Value # toEncodingList :: [OutputGroup] -> Encoding # | |
binaryToJSON :: Binary ByteString -> Value Source #
groupIdToJSON :: GroupId -> Value Source #