trim db name from minq.getCollections