GQL with node.js
<p>Is there a working example of using Google Datastore GQL in Node.js?</p>

<p>The examples in the documentation contain a .execute function that doesn't appear to exist.</p>

<p><a href="https://cloud.google.com/datastore/docs/concepts/gql" rel="nofollow">https://cloud.google.com/datastore/docs/concepts/gql</a></p>

<p>I therefore tried using the regular callback approach but the GQL statement isn't picked up.
I've tried using gql_query and gqlQuery as the resource parameter name but to no avail.</p>

<pre><code>store.datasets.runQuery(
        {
            "resource":
            {
                "gqlQuery":
                {
                    "queryString":"SELECT * from Messages LIMIT 50",
                    "allowLiterals":true
                }
            }

        }, 
        function(err, result, endCursor, apiResponse)
        {
...
    }
</code></pre>