An error occurred while fetching folder content.
Jared Hancock
authored
This allows for things like related COUNTs and such: ```php ThreadEntry::objects()->annotate( 'attachment_count'=>Aggregate::COUNT('attachments') ) ->filter(array('attachments__type__contains'=>'image/')) ->filter(array('attachment_count__gt'=>0)); ``` This would find all thread entries with at least one image attached.
Name | Last commit | Last update |
---|