docstring for get_db_locations()