I am currently migrating from Retool DB to my own PSQL db. All has been going fine up to the point of changing the Resources for the queries in my app from Retool db to my PSQL db.
The following clause now throws an error from my PSQL server:
The prepared statement shows:
And the "View SQL statement as string" toggle then shows:
If I take the full SQL statement and run it directly on my PSQL server, it executes fine. When I have a look in the error log on the PSQL server, I see it is trying to execute with the token instead of the date
Is this a bug or am I doing something wrong? Any alternate ideas? I've tried switching to BETWEEN and >=,<= and get the same issue. This has worked perfectly via Retool DB for some time..
Thanks!!