We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It's unclear to me from the docs (and I am also not very knowledgeable about JS/react-admin).
I'd like to filter a List by a date range, i.e. something like {_and: {_gte: "..."}, {_lt: "..."}}.
{_and: {_gte: "..."}, {_lt: "..."}}
Thanks!
The text was updated successfully, but these errors were encountered:
For the fetching list, I am using a query something like this:
const fetchData = () => { dataProvider .getList('table_name', { pagination: {}, sort: { field: 'id', order: 'ASC' }, filter: { column_name: { _gt: date, _lt: date }, }, }) .then(({ data: list }) => { // success side effects go here }) .catch(() => { // failure side effects go here }); };
Sorry, something went wrong.
No branches or pull requests
It's unclear to me from the docs (and I am also not very knowledgeable about JS/react-admin).
I'd like to filter a List by a date range, i.e. something like
{_and: {_gte: "..."}, {_lt: "..."}}
.Thanks!
The text was updated successfully, but these errors were encountered: