Skip to content
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

How to query for Posts with updated_at field ? #622

Open
pkd2989 opened this issue Oct 29, 2022 · 0 comments
Open

How to query for Posts with updated_at field ? #622

pkd2989 opened this issue Oct 29, 2022 · 0 comments

Comments

@pkd2989
Copy link

pkd2989 commented Oct 29, 2022

Hi,

I want to get all Posts that are updated after a particular timestamp. What will be the syntax ?
I have tried

\App\Models\WPPost2::all(['updated_date']);

'updated_at'

but both returns error.

Thanks.

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

No branches or pull requests

1 participant