-
Notifications
You must be signed in to change notification settings - Fork 137
Can't query using date #135
Comments
Hi, Date fields are not string, it's an object. For example, you can do query like this: That's work, but perhaps need to create specific where for Date Object. Hope this help, |
Hi, public function whereBetweenOrEqualTo($key, $startValue, $endValue){ But I still need to have to query on the createdAt field which is of type DateTime using just a date not a datetime. |
public function whereBetweenOrEqualDates($key, $startDate, $endDate){ call him for created_at without time: It's dirty but it should work. |
Hello, i tried your code but it does not work. I returns all the data in my parse table without filtering the record |
I wanted to query on rows created in a time range between two dates, but I'm having a problem querying on the createdAt field.
I wanted to know the right way to query using a date.
Thanks.
The text was updated successfully, but these errors were encountered: