How can I get mysql BLOB through GraphQL?

Viewed 1385

I need to download some file stored in MySQL DB as BLOB type.

Currently I'm trying to get it as string but GraphQL don't want to return this file.

Here is GraphQL schema:

type CV {
    ...
    title: String!
    file: String!       # Here is BLOB cell
}

Here is Screenshot from Mysql table named cv:

enter image description here

There is a way to store files in DB and download it through GraphQL? (At this time I found only way is to store it on Apache)

0 Answers
Related