Closed Famaxis closed 3 years ago
Sticking with just ->tagged will be faster. Probably avoid directly using the tag object (unless you need it) as it does an extra query. Is really there to force uniqueness on the tag strings.
Hrm, I should probably update docs to suggest "tagged" though.
Thanks for the package, it's simple and useful. And I have a question. When I need only five tags, there are appear ten models.
As said in documentation, I use
Post::with('tagged')
, and here is blade file:When I changed
tagged
totags
, there was no difference. Did I do something wrong, or is it meant to work that way?