Why doesn't has work?

  • 0
    I need to get records for which links are less than the max_owners value from the table.
    If I insert chilso into the place "banner_places.max_owners" then it works, and from the current line, how to transfer them to has ??
    BannerPlace::has('leases','<', 'banner_places.max_owners')->get()
    Laravel Harper Stokes, Oct 26, 2020

  • 0 Answers
Your Answer
To place the code, please use CodePen or similar tool. Thanks you!