I'm using Postgraphile to interact with PostgreSQL, and I need upload images to server from my Android app. I plan to send an image as a base64 encoded string by using a mutation, this mutation is a PostgreSQL function that when is called will take the value for image and will save it into file system, getting the file path which will be saved to database.
Is it possible? how? Any suggestion is welcome.