List all objects available in the database
The callback will be called for each object available in the database. Note that the objects are likely to be returned in the index order, which would make accessing the objects in that order inefficient. Return a non-zero value from the callback to stop looping.
data to pass to the callback
0 on success, non-zero callback return value, or error code