Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- getDerivedSchema :: SchemaConf -> Connection -> Text -> [TableEntryRaw] -> IO (Schema IO)
- queryType :: Connection -> AccessMode -> Text -> [TableEntryRaw] -> IO (ObjectType IO)
- sqlDataToGQLValue :: Text -> SQLData -> Either Text Value
- getMutationResponse :: Text -> [ColumnEntry] -> Type IO
- gqlValueToSQLData :: Value -> SQLData
Documentation
getDerivedSchema :: SchemaConf -> Connection -> Text -> [TableEntryRaw] -> IO (Schema IO) Source #
Automatically generated schema derived from the SQLite database
queryType :: Connection -> AccessMode -> Text -> [TableEntryRaw] -> IO (ObjectType IO) Source #
sqlDataToGQLValue :: Text -> SQLData -> Either Text Value Source #
WARNING: Also change duplicate sqlDataToAesonValue
getMutationResponse :: Text -> [ColumnEntry] -> Type IO Source #