$query is not defined in this example, you can avoid the variable with chaining