diff --git a/src/Congow/Orient/Query.php b/src/Congow/Orient/Query.php
index <HASH>..<HASH> 100644
--- a/src/Congow/Orient/Query.php
+++ b/src/Congow/Orient/Query.php
@@ -722,4 +722,12 @@ class Query implements QueryInterface
 
         return true;
     }
+
+    /**
+     * Returns the raw SQL statement
+     */
+    public function __toString()
+    {
+        return $this->getRaw();
+    }
 }
Convert query objects to SQL using __toString().

The reason for this addition is out of sheer convenience, it is nice to
be able to pass a query object straight to the ->query() and ->command()
methods of the binding class without the need to call ->getRaw() on it.