Postgresql – Comparing date strings with jsonpath expression
I'm trying to run the following query, which unless I'm misunderstanding the documentation looks as like it should be possible. SELECT id, profile FROM end_user WHERE profile @? '$.first_segment_exited_at ? (@.datetime() < "2023-05-25".datetime())'::jsonpath; This is the documentation which leads me…