Try to search your question here, if you can't find : Ask Any Question Now ?

wherein and checkDate in eloquent

HomeCategory: stackoverflowwherein and checkDate in eloquent
Avatarjohn asked 5 months ago

i have an array of dates without hour & minutes & seconds
and i want to use this array in a wherein condition with a single userId check. the problem is how can i do this with LIKE operator that my result contains all of rows that match with my dates?

this is my dates:

  array:2 [
    0 => "2030-02-06"
    1 => "2019-02-06"

an this is my query that i want to get all of result and then update them:

1 Answers
Best Answer
AvatarArben answered 5 months ago
Your Answer

19 + 14 =

Popular Tags

WP Facebook Auto Publish Powered By :