Added all() method

this method will get all $name like from the DB !