Added summary function for db.obj