I am trying to insert a row with a DATETIME field using MySqlX.XDevAPI. Whatever I try, I just get this cryptic message:
Expected token type IDENT at token pos 0
I have tried string format:
dt.ToString("yyyy-MM-dd HH:mm:ss")
I have tried UTC seconds format:
((DateTimeOffset)dt).ToUnixTimeSeconds();
I have also tried just passing System.DateTime instance as a value...Nothing works, and I can't find any documentation on how to do this simple task.
What is the correct format?