database, field, and max_result are never provided as arguments