Storing data in a file column

Hello, I am trying to use the auto-generated mutation to insert a File in 8base table column with the type File. I expect the graphql type of the file argument in the mutation to be plain File, but it’s some sort of relation input. How can I make this field have the File type? Or how can I generate this relation type of input for a given file (i.e. what to provide in fields like mods , meta )?

Hello Cristian!

This field has already a File type. Turns out in 8base File is a table and when you want to insert a file you should create it first and then connect by id to your another table.

You can read about technical details in our docs: https://docs.8base.com/development-tools/sdk/filestack-uploader

If something is unclear please leave here your questions.