Query the object database for multiple objects at a time, given their object ID (which may be abbreviated) and optional type.