Skip to content

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

Closed
hyunnbunt wants to merge 12 commits into
plasmicapp:masterfrom
hyunnbunt:new_filter_options
Closed

Added Filtering by _createdAt, and _updatedAt to CMS API Filter Query#138
hyunnbunt wants to merge 12 commits into
plasmicapp:masterfrom
hyunnbunt:new_filter_options

Conversation

@hyunnbunt

@hyunnbunt hyunnbunt commented Apr 28, 2025

Copy link
Copy Markdown
Contributor

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"}}]}}

@vercel

vercel Bot commented Apr 28, 2025

Copy link
Copy Markdown

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

@vercel

vercel Bot commented Apr 28, 2025

Copy link
Copy Markdown

@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

@jaslong jaslong left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Needs rebase and tests

@github-actions

github-actions Bot commented Aug 5, 2025

Copy link
Copy Markdown

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
Copy Markdown
Contributor Author

Needs rebase and tests

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

plasmicops pushed a commit that referenced this pull request Mar 10, 2026
Merge
- #137
- #138
- minor edits to tests

---------

Co-authored-by: hyunnbunt <[email protected]>
GitOrigin-RevId: 49e8e13d04c02e21a4a45a459cdca9d814dea54a
@jaslong

jaslong commented Mar 11, 2026

Copy link
Copy Markdown
Member

Merged in 2e41cb9

@jaslong jaslong closed this Mar 11, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants