这是indexloc提供的服务,不要输入任何密码
Skip to content

Added Filtering by _createdAt, and _updatedAt to CMS API Filter Query #138

New issue

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

hyunnbunt
Copy link
Contributor

@hyunnbunt hyunnbunt commented Apr 28, 2025

Implements filtering for rows based on the _id, _createdAt, and _updatedAt columns in the query. Users can now include these fields within the where parameter to filter results. For _createdAt and _updatedAt, filtering by a specific date and time (ISO 8601 format: YYYY-MM-DDTHH:mm:ssZ) is supported.

  • Query Examples
    {"where":{"_createdAt": "2025-04-04T06:52:32.500Z"}},
    {"where": {"$and": [{"_createdAt": {"$ge": "2025-04-04T00:00:00.000Z"}}, {"_createdAt":{"$lt":"2025-04-15T22:00:00.000Z"}}]}}

Copy link

vercel bot commented Apr 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
plasmic-cms-i18n ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 28, 2025 7:09am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
react-email-demo ⬜️ Ignored (Inspect) Apr 28, 2025 7:09am

Copy link

vercel bot commented Apr 28, 2025

@hyunnbunt is attempting to deploy a commit to the Plasmic Team on Vercel.

A member of the Team first needs to authorize it.

@hyunnbunt hyunnbunt changed the title Added Filtering by _id, _createdAt, and _updatedAt to CMS API Filter Query Added Filtering by _createdAt, and _updatedAt to CMS API Filter Query Apr 29, 2025
@jaslong jaslong self-assigned this May 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants