Advaanced quiries on custom data types.
-
I understand custom post types, I understand basic querying of custom post types. I can’t seem to find an answer on quires beyond basic such as:
Select * from custom post type
Where condition 1 between x and y
Condition 2 = abc
Condition 3 = defConditions 1 & 2 being custom tax. and 3 & 4 being being meta boxes. Those are not all the data pieces associated, but if I can figure out/learn a simple query as above, I can generally get going on the difficult ones.
If I bang my head hard enough, I might be able to come up with a strait PHP solution… but that seems to defeat the purpose of using custom data types.
As a side question… Would a strait PHP answer be more efficient? I am going to import 2,000 records into the database under this post type, and will add 1,000+ more every year.
Thanks in advance for any help.
- The topic ‘Advaanced quiries on custom data types.’ is closed to new replies.