(minor): I think you can just let the results.rows.length === 0 case fall through to the else