airgql-0.7.1.2: Automatically generate a GraphQL API for an SQLite database
Safe HaskellSafe-Inferred
LanguageHaskell2010

AirGQL.GraphQL

Synopsis

Documentation

getDerivedSchema :: SchemaConf -> Connection -> Text -> [TableEntryRaw] -> IO (Schema IO) Source #

Automatically generated schema derived from the SQLite database

sqlDataToGQLValue :: Text -> SQLData -> Either Text Value Source #

WARNING: Also change duplicate sqlDataToAesonValue

gqlValueToSQLData :: Value -> SQLData Source #

Convert a GraphQL Value to a SQLData TODO: ? -> SQLBlob $ string