Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Relations Module
Post: RE: Relations Module

MGatner Wrote: (08-14-2020, 02:38 PM) -- The point of Relations is that it handles the direct ID queries for you. It should only load the one genre that you need. -- Thanks for your Tatter/Relation...
23,742 Views
19 Replies
08-19-2020, 01:34 AM
hungtrinhbds
    Thread: Relations Module
Post: RE: Relations Module

MGatner Wrote: (08-11-2020, 04:26 AM) -- You don’t use the query builder, you need to use the native Model find methods. In your case above you would do something like this: foreach ($movieModel->fi...
23,742 Views
19 Replies
08-12-2020, 07:37 AM
hungtrinhbds
    Thread: Relations Module
Post: RE: Relations Module

This my test code: PHP Code: -- $schemas = service('schemas'); $schemas->draft()->get(); $movieModel = new \Hcv\Imdb\Models\Moviemodel; $movieModel->where('votes_avg', 7); $movieModel->where('ge...
23,742 Views
19 Replies
08-10-2020, 08:52 AM
hungtrinhbds
    Thread: Relations Module
Post: RE: Relations Module

@MGatner: Thanks for your reply. My problem here is: How to use the query builder with Tatter/Relations (https://packagist.org/packages/tatter/relations) in my case, with more than 2 relations. Your d...
23,742 Views
19 Replies
08-10-2020, 08:19 AM
hungtrinhbds
  Lightbulb Thread: Relations Module
Post: RE: Relations Module

Hi MGatner, Thanks for your Tatter/Relations (https://packagist.org/packages/tatter/relations). I am very excited while using it. But I am having a small problem and have not found a solution yet. Ca...
23,742 Views
19 Replies
08-09-2020, 08:41 AM
hungtrinhbds

Theme © iAndrew 2016 - Forum software by © MyBB