add the db operation method for db module