hw_GetObjectByQueryColl search object in collection Description arrayhw_getobjectbyquerycoll intconnection intobjectID stringquery intmax_hits Searches for objects in collection with ID objectID and returns an array of object ids. 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_getobjectbyquerycollobj.