Hello,
I realized recently that date values provided in an exp parameter must follow the default datetime format provided by the adapter.
Examples:
Oracle: "DD-MON-YY"
Default JDBC: "YYYY-MM-DD HH:MI:SS"
Otherwise, an exception is thrown (Oracle would throw a format exception, JDBC would indicate the correct format to use).
This works with JDBC:
exp=["ptfDepl.deplDate>$d","2021-02-01 00:00:00"]
I'm fine with the JDBC one (which I use currently), but then I'm missing the specifities of the Oracle adapter, and mainly I'd love to be able to stick to the ISO format (as used in the results).
Maybe I missed something. I tried to put formatting option in the parameter via multiple methods, I can't find one working.
I'm not sure if this is more a Cayenne related question, but since it's happening only with the exp parameter I'm asking here.
I use AgRest 4.4.
Thanks in advance
Anthonin