rest
rest copied to clipboard
missing operator to select datetime range
if have a create_at coloum in table, how to filtering using gte and lte operator to select by range.
@serveryang you can check the detail document here https://rest-go.com/docs/guides/api#filtering
I have read the document, can't find logic operator to implement filter create_at column in range.
sql statement like
select * from tablename where create_at >= '2020-10-10 12:12:12' and create_at <= '2024-10-10 12:12:12'
multi create_at in querystring of api will ignore first one.
@serveryang it's supported now, you can try the latest master to use it.