As far as I understood. It is possible to perform queries using db_fetch_all () and a filter callback function.
The question is, is this always linear search ? UnQLite has to call the user defined filter callback function for each JSON object or there is some optimisation behind the scenes.
For instance MongoDB allows developers to index a collection. I do not see this option in UnQLite. Does it mean there is some optimisation hidden or it is always a linear search O( n ).
If not O( n ), what does UnQLite to speed up the query ?