mirror of
https://github.com/PostgreSQL-For-Wordpress/postgresql-for-wordpress.git
synced 2026-05-04 11:54:10 +02:00
1 line
680 B
Plaintext
1 line
680 B
Plaintext
{"mysql":"\n\t\t\tSELECT DISTINCT t.term_id, tr.object_id\n\t\t\tFROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id INNER JOIN wp_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id\n\t\t\tWHERE tt.taxonomy IN ('wp_theme') AND tr.object_id IN (25, 23, 21)\n\t\t\tORDER BY t.name ASC\n\t\t\t\n\t\t","postgresql":"SELECT DISTINCT t.term_id, tr.object_id, t.name\n\t\t\tFROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id INNER JOIN wp_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id\n\t\t\tWHERE tt.taxonomy IN ('wp_theme') AND tr.object_id IN (25, 23, 21)\n\t\t\tORDER BY t.name ASC"} |