1
Fork 0
mirror of https://github.com/Airsequel/AirGQL.git synced 2025-07-28 22:13:18 +03:00

Remove sql => gql blob conversion

This commit is contained in:
prescientmoon 2024-07-09 19:24:41 +02:00
commit 84a6c44abf

View file

@ -798,7 +798,7 @@ sqlDataToGQLValue datatype sqlData = case (datatype, sqlData) of
<> "Use a Number (64-bit float) or Text column instead."
(_, SQLFloat double) -> pure $ Float double
(_, SQLText text) -> pure $ String text
(_, SQLBlob _) -> pure $ String "<BINARY BLOB>"
(_, SQLBlob _) -> Left "Cannot encode BLOB directly as gql"
(_, SQLNull) -> pure Null