Skip to content

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)
examples-plasmic-cms-i18n ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 5, 2025 8:29am
examples-react-email ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 5, 2025 8:29am
plasmic-cms-i18n ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 5, 2025 8:29am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
react-email-demo ⬜️ Ignored (Inspect) Aug 5, 2025 8:29am

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
Copy link
Member

@jaslong jaslong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs rebase and tests

Copy link

github-actions bot commented Aug 5, 2025

Thank you for your submission, we really appreciate it! ❤️

Like many open-source projects, we ask that you sign our Individual Contributor License Agreement before we can accept your contribution. If you are contributing on behalf of a company, please contact us at [email protected] to sign a Corporate Contributor License Agreement.

You can sign the individual CLA by posting a comment with the below text.


I have read, agree to, and hereby sign Plasmic's Individual Contributor License Agreement


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@hyunnbunt
Copy link
Contributor Author

Needs rebase and tests

I rebased it and add sql tests for createdAt, updatedAt fields!

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