Search Queryby Group Public on Friday October 17 2008 @ 15:26:15 (1/1 Points) |
|
| Reference ✑ Reply ✓ Stick It ✗ Ditch It ⚐ Tag It |
For the entity→ search and searchDelete function a search query term is required.
This document refers to procedurally built search queries as opposed to the schema created search queries.
It is important to note that searching works at the logical level of entities, not directly at the DB level. Therefore field references are for the entity, not DB columns. Persephone will convert all the options at the logical into an appropriate DB query.
Query API
A query api is exposed to create search queries. In PHP this is exposed as a series of static functions in the DBS_Query class.
Much of the documentation here exists in the PHP files for this API. It still needs to be transferred here, until then, you can refer to the "query.inc" file.
Persephone Search Query
