Query Has No Return
Erroneous Code Example
This warning occurs when a query does not have aRETURN statement. While not always an error, queries typically should return a value.
Solution
Add aRETURN statement to specify what the query should return, or use a mutation operation like INSERT, UPDATE, or DROP if the query is intended to modify data without returning a value.