On Oct 26, 1:45 am, lazyeye <[EMAIL PROTECTED]> wrote:
> Here is my table setup:
>
> posts
> id
> name
> ...
>
> tags
> id
> parent_id
> name
> ...
>
> posts_tags
> id
> post_id
> tag_id
>
> I want to be able to filter posts by their associated "parent tag". So
> for example I want to be able to
Here is my table setup:
posts
id
name
...
tags
id
parent_id
name
...
posts_tags
id
post_id
tag_id
I want to be able to filter posts by their associated "parent tag". So
for example I want to be able to request all posts with an associated
tag whose parent tag has an id of 1.
Currently I am ab