My model is composed by some text fields and an image. In the database the image is not saved like a blob field but like a text field. So when I uploaded the file I want to store the file link.
Where can i find the method saveAs ? How this method save the file? ( have I to pass only the folder path or the folder path plus the file name to store? )
So my problem is: I have to store the file, take the url where the file is stored and save it into the database.