Query object + trailing newline