I have an entry like that in my postgreSql DB :
and used this sql request :
SELECT *
FROM "options"
WHERE 'startDate' >= '2021-05-01 00:00:00.000+00' AND 'startDate' <= '2021-05-31 00:00:00.000+00';
That should return me the entry but it doesn't :(
I tried this request :
SELECT *
FROM "options"
WHERE 'startDate' BETWEEN '2021-05-01 00:00:00.000+00' AND '2021-05-31 00:00:00.000+00';
Returns an empty row.
I also made few tests with those request :
SELECT * FROM "options" WHERE 'startDate' > '2021-05-31';
and this returns the entry (it shouldn't because 'startDate' is 2021-05-04... I also replaced 2021 by 2022/2030, no matter what date in the futur, it's returning the entry...
So guys please help!!! Thanks a lot!