database - key not found in the db, return "None" or "not Found"? -


i found on interview question.

should data layer function: "get_person_by_key( person_key )" return "none" or raise "notfound" exception if "person_key" not match record in database? please explain reasoning

does distinction make sense? feel skeptical.


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

jquery - How would i go about shortening this code? And to cancel the previous click on click of new section? -