PHP Manual
Prev |  | Next

# hw_GetObjectByQueryCollObj

(3.0.3 - 3.0.18 only, PHP 4 >= 4.0.0)

hw_GetObjectByQueryCollObj -- search object in collection

## Description

``array hw_getobjectbyquerycollobj` (int connection, int objectID, string query, int max_hits)`

Searches for objects in collection with ID `objectID` and returns an array of object records. The maximum number of matches is limited to `max_hits`. If `max_hits` is set to -1 the maximum number of matches is unlimited.

The query will only work with indexed attributes.

See also hw_getobjectbyquerycoll().

Prev | Home | Next
hw_GetObjectByQueryColl | Up | hw_GetChildDocColl