Return an appropriate "not found" when looking for a nonexistant row
Trailing newline when querying a single row
Type-annotate generated literals to prevent inappropriate coercion