Eloquent where(): 6 'Tricks' You May Not Know

  • Using whereDate function in Eloquent
  • Passing multiple where conditions as an array
  • Using where condition on the pivot table in many-to-many relationships
  • Grouping where conditions correctly
  • Using whereColumn to compare two columns
  • Using whereNot, whereAny, and whereAll functions

via Eloquent where(): 6 "Tricks" You May Not Know