[wp-hackers] meta_value contains text

Jörn Röder kontakt at joernroeder.de
Mon Aug 17 18:00:29 UTC 2009


Hi,
thanks. I will look at your plugin…

Jörn


Am 16.08.2009 um 23:58 schrieb scribu:

> You would have to use this syntax:
>
> CASE meta_key
>  WHEN 'key1' THEN meta_value = 'value1'
>  WHEN 'key2' THEN meta_value = 'value2'
> END
>
> and you also have to have a group by:
>
> GROUP BY post_id
> HAVING COUNT(*) > 2
>
>
> All this functionality is wrapped in a plugin of mine: Custom Field
> Taxonomies <http://scribu.net/wordpress/custom-field-taxonomies>.
>
>
> -- 
> http://scribu.net
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list