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 -

image - ClassNotFoundException when add a prebuilt apk into system.img in android -