I ran into an awkward problem.
I need to insert some values into an SQL table.
For that i use an Insert
clause, like this:
INSERT INTO `USERS`(`ID`, `FILE`, `PROPERTIES`) VALUES ('1', FILE, '{"attributes":{"LANGUAGE":"ENG","AUTHOR":"John"}}')
My problem is the File
value. I don't know how i can insert a File
object in these circumstances. And since i cannot pass the value NULL
, due to program restrictions, how can i do it?