[db,tool] adapt --find to new db model