{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/pulls/comments/47290865","id":47290865,"diff_hunk":"@@ -619,6 +619,35 @@ Metadata.prototype.testPropertyByKindRunQuery = function(callback) {\n   this.datastore.runQuery(query, callback);\n };\n \n+Metadata.prototype.testPropertyFilteringRunQuery = function(callback) {\n+  datastore.createQuery = this.datastore.createQuery;\n+\n+  // [START property_filtering_run_query]\n+  var query = datastore.createQuery('__property__')\n+    .select('__key__')\n+    .filter('__key__ >=', datastore.key(['__kind__', 'Task', '__property__', 'priority']));","path":"datastore/concepts.js","position":10,"original_position":10,"commit_id":"18e97b291d3a2c05cf7fa566eacf30c58379068a","original_commit_id":"18e97b291d3a2c05cf7fa566eacf30c58379068a","user":{"login":"stephenplusplus","id":723048,"avatar_url":"https://avatars.githubusercontent.com/u/723048?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenplusplus","html_url":"https://github.com/stephenplusplus","followers_url":"https://api.github.com/users/stephenplusplus/followers","following_url":"https://api.github.com/users/stephenplusplus/following{/other_user}","gists_url":"https://api.github.com/users/stephenplusplus/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenplusplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenplusplus/subscriptions","organizations_url":"https://api.github.com/users/stephenplusplus/orgs","repos_url":"https://api.github.com/users/stephenplusplus/repos","events_url":"https://api.github.com/users/stephenplusplus/events{/privacy}","received_events_url":"https://api.github.com/users/stephenplusplus/received_events","type":"User","site_admin":false},"body":"I would consider pulling this key out into a variable, just since it's getting pretty long.","created_at":"2015-12-10T21:46:11Z","updated_at":"2015-12-10T21:46:11Z","html_url":"https://github.com/GoogleCloudPlatform/nodejs-docs-samples/pull/47#discussion_r47290865","pull_request_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/pulls/47","_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/pulls/comments/47290865"},"html":{"href":"https://github.com/GoogleCloudPlatform/nodejs-docs-samples/pull/47#discussion_r47290865"},"pull_request":{"href":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/pulls/47"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/pulls/47","id":53314803,"html_url":"https://github.com/GoogleCloudPlatform/nodejs-docs-samples/pull/47","diff_url":"https://github.com/GoogleCloudPlatform/nodejs-docs-samples/pull/47.diff","patch_url":"https://github.com/GoogleCloudPlatform/nodejs-docs-samples/pull/47.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/issues/47","number":47,"state":"open","locked":false,"title":"Add property query filtering snippet.","user":{"login":"dgay42","id":1934112,"avatar_url":"https://avatars.githubusercontent.com/u/1934112?v=3","gravatar_id":"","url":"https://api.github.com/users/dgay42","html_url":"https://github.com/dgay42","followers_url":"https://api.github.com/users/dgay42/followers","following_url":"https://api.github.com/users/dgay42/following{/other_user}","gists_url":"https://api.github.com/users/dgay42/gists{/gist_id}","starred_url":"https://api.github.com/users/dgay42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgay42/subscriptions","organizations_url":"https://api.github.com/users/dgay42/orgs","repos_url":"https://api.github.com/users/dgay42/repos","events_url":"https://api.github.com/users/dgay42/events{/privacy}","received_events_url":"https://api.github.com/users/dgay42/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-10T20:50:54Z","updated_at":"2015-12-10T21:46:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e6aca8f333fe6fbd37a677ddee746df7a1b4a8b9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/pulls/47/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/pulls/47/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/issues/47/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/statuses/18e97b291d3a2c05cf7fa566eacf30c58379068a","head":{"label":"dgay42:datastore-v1beta3","ref":"datastore-v1beta3","sha":"18e97b291d3a2c05cf7fa566eacf30c58379068a","user":{"login":"dgay42","id":1934112,"avatar_url":"https://avatars.githubusercontent.com/u/1934112?v=3","gravatar_id":"","url":"https://api.github.com/users/dgay42","html_url":"https://github.com/dgay42","followers_url":"https://api.github.com/users/dgay42/followers","following_url":"https://api.github.com/users/dgay42/following{/other_user}","gists_url":"https://api.github.com/users/dgay42/gists{/gist_id}","starred_url":"https://api.github.com/users/dgay42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgay42/subscriptions","organizations_url":"https://api.github.com/users/dgay42/orgs","repos_url":"https://api.github.com/users/dgay42/repos","events_url":"https://api.github.com/users/dgay42/events{/privacy}","received_events_url":"https://api.github.com/users/dgay42/received_events","type":"User","site_admin":false},"repo":{"id":47784768,"name":"nodejs-docs-samples","full_name":"dgay42/nodejs-docs-samples","owner":{"login":"dgay42","id":1934112,"avatar_url":"https://avatars.githubusercontent.com/u/1934112?v=3","gravatar_id":"","url":"https://api.github.com/users/dgay42","html_url":"https://github.com/dgay42","followers_url":"https://api.github.com/users/dgay42/followers","following_url":"https://api.github.com/users/dgay42/following{/other_user}","gists_url":"https://api.github.com/users/dgay42/gists{/gist_id}","starred_url":"https://api.github.com/users/dgay42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgay42/subscriptions","organizations_url":"https://api.github.com/users/dgay42/orgs","repos_url":"https://api.github.com/users/dgay42/repos","events_url":"https://api.github.com/users/dgay42/events{/privacy}","received_events_url":"https://api.github.com/users/dgay42/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dgay42/nodejs-docs-samples","description":"Code samples used on cloud.google.com","fork":true,"url":"https://api.github.com/repos/dgay42/nodejs-docs-samples","forks_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/forks","keys_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/teams","hooks_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/hooks","issue_events_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/issues/events{/number}","events_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/events","assignees_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/assignees{/user}","branches_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/branches{/branch}","tags_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/tags","blobs_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/git/refs{/sha}","trees_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/statuses/{sha}","languages_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/languages","stargazers_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/stargazers","contributors_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/contributors","subscribers_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/subscribers","subscription_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/subscription","commits_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/commits{/sha}","git_commits_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/git/commits{/sha}","comments_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/comments{/number}","issue_comment_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/issues/comments{/number}","contents_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/contents/{+path}","compare_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/merges","archive_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/downloads","issues_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/issues{/number}","pulls_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/pulls{/number}","milestones_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/milestones{/number}","notifications_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/labels{/name}","releases_url":"https://api.github.com/repos/dgay42/nodejs-docs-samples/releases{/id}","created_at":"2015-12-10T20:09:32Z","updated_at":"2015-12-10T20:09:33Z","pushed_at":"2015-12-10T20:49:24Z","git_url":"git://github.com/dgay42/nodejs-docs-samples.git","ssh_url":"git@github.com:dgay42/nodejs-docs-samples.git","clone_url":"https://github.com/dgay42/nodejs-docs-samples.git","svn_url":"https://github.com/dgay42/nodejs-docs-samples","homepage":"","size":633,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"GoogleCloudPlatform:datastore-v1beta3","ref":"datastore-v1beta3","sha":"e40f6ceab0b5375e0bc0227dfac804a2f1d551b9","user":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":35065891,"name":"nodejs-docs-samples","full_name":"GoogleCloudPlatform/nodejs-docs-samples","owner":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleCloudPlatform/nodejs-docs-samples","description":"Code samples used on cloud.google.com","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/releases{/id}","created_at":"2015-05-04T23:26:38Z","updated_at":"2015-12-09T01:26:56Z","pushed_at":"2015-12-10T20:50:55Z","git_url":"git://github.com/GoogleCloudPlatform/nodejs-docs-samples.git","ssh_url":"git@github.com:GoogleCloudPlatform/nodejs-docs-samples.git","clone_url":"https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git","svn_url":"https://github.com/GoogleCloudPlatform/nodejs-docs-samples","homepage":"","size":628,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":6,"forks":7,"open_issues":6,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/pulls/47"},"html":{"href":"https://github.com/GoogleCloudPlatform/nodejs-docs-samples/pull/47"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/issues/47"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/issues/47/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/pulls/47/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/pulls/47/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/nodejs-docs-samples/statuses/18e97b291d3a2c05cf7fa566eacf30c58379068a"}}}}