{"action":"closed","number":19,"pull_request":{"url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/pulls/19","id":39211324,"html_url":"https://github.com/couchbaselabs/Linq2Couchbase/pull/19","diff_url":"https://github.com/couchbaselabs/Linq2Couchbase/pull/19.diff","patch_url":"https://github.com/couchbaselabs/Linq2Couchbase/pull/19.patch","issue_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/issues/19","number":19,"state":"closed","locked":false,"title":"Support for NEST N1QL statements","user":{"login":"brantburnett","id":7118719,"avatar_url":"https://avatars.githubusercontent.com/u/7118719?v=3","gravatar_id":"","url":"https://api.github.com/users/brantburnett","html_url":"https://github.com/brantburnett","followers_url":"https://api.github.com/users/brantburnett/followers","following_url":"https://api.github.com/users/brantburnett/following{/other_user}","gists_url":"https://api.github.com/users/brantburnett/gists{/gist_id}","starred_url":"https://api.github.com/users/brantburnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brantburnett/subscriptions","organizations_url":"https://api.github.com/users/brantburnett/orgs","repos_url":"https://api.github.com/users/brantburnett/repos","events_url":"https://api.github.com/users/brantburnett/events{/privacy}","received_events_url":"https://api.github.com/users/brantburnett/received_events","type":"User","site_admin":false},"body":"Modifications\r\n-------------\r\nAdded IN1QlQueryModelVisitor interface to N1QlQueryModelVisitor to publish\r\nmethods used by custom clauses.  Implemented new NestClause and\r\nNestExpressionNode classes to represent both INNER NEST and LEFT OUTER\r\nNEST statements.  Implemented VisitNestClause in N1QlQueryModelVisitor to\r\nhandle the new clause.  Added LetParts to QueryPartsAggregator to handle\r\nLET statements, which are used if the inner sequence of the Nest is\r\nprefiltered.  Added Nest and LeftOuterNest static methods as an IQueryable\r\nextension, as well as an IEnumerable extension for consistency.\r\n\r\nResults\r\n-------\r\nBoth INNER NEST and LEFT OUTER NEST are now fully supported via IQueryable\r\nextension methods.  This includes support for prefiltering the inner\r\nsequence being nested.\r\n\r\nNote\r\n----\r\nManipulating the list of keys is not yet supported.  This should tie in\r\nwith later work on subqueries, which should allow\r\nN1QlExpressionTreeVisitor to handle filters and manipulations using the\r\nARRAY statement.","created_at":"2015-07-04T18:26:37Z","updated_at":"2015-07-15T03:31:36Z","closed_at":"2015-07-15T03:31:36Z","merged_at":"2015-07-15T03:31:36Z","merge_commit_sha":"ca83d127004773aa0be7ce3c523fd3b8b7acd33f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/pulls/19/commits","review_comments_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/pulls/19/comments","review_comment_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/pulls/comments{/number}","comments_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/issues/19/comments","statuses_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/statuses/9de41440465dea9f1d09015a4e129b6f5a63e4ae","head":{"label":"brantburnett:nest","ref":"nest","sha":"9de41440465dea9f1d09015a4e129b6f5a63e4ae","user":{"login":"brantburnett","id":7118719,"avatar_url":"https://avatars.githubusercontent.com/u/7118719?v=3","gravatar_id":"","url":"https://api.github.com/users/brantburnett","html_url":"https://github.com/brantburnett","followers_url":"https://api.github.com/users/brantburnett/followers","following_url":"https://api.github.com/users/brantburnett/following{/other_user}","gists_url":"https://api.github.com/users/brantburnett/gists{/gist_id}","starred_url":"https://api.github.com/users/brantburnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brantburnett/subscriptions","organizations_url":"https://api.github.com/users/brantburnett/orgs","repos_url":"https://api.github.com/users/brantburnett/repos","events_url":"https://api.github.com/users/brantburnett/events{/privacy}","received_events_url":"https://api.github.com/users/brantburnett/received_events","type":"User","site_admin":false},"repo":{"id":36899716,"name":"Linq2Couchbase","full_name":"brantburnett/Linq2Couchbase","owner":{"login":"brantburnett","id":7118719,"avatar_url":"https://avatars.githubusercontent.com/u/7118719?v=3","gravatar_id":"","url":"https://api.github.com/users/brantburnett","html_url":"https://github.com/brantburnett","followers_url":"https://api.github.com/users/brantburnett/followers","following_url":"https://api.github.com/users/brantburnett/following{/other_user}","gists_url":"https://api.github.com/users/brantburnett/gists{/gist_id}","starred_url":"https://api.github.com/users/brantburnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brantburnett/subscriptions","organizations_url":"https://api.github.com/users/brantburnett/orgs","repos_url":"https://api.github.com/users/brantburnett/repos","events_url":"https://api.github.com/users/brantburnett/events{/privacy}","received_events_url":"https://api.github.com/users/brantburnett/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brantburnett/Linq2Couchbase","description":"A Language Integrated Query (LINQ) provider for the Couchbase .NET SDK","fork":true,"url":"https://api.github.com/repos/brantburnett/Linq2Couchbase","forks_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/forks","keys_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/teams","hooks_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/hooks","issue_events_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/issues/events{/number}","events_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/events","assignees_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/assignees{/user}","branches_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/branches{/branch}","tags_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/tags","blobs_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/git/refs{/sha}","trees_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/statuses/{sha}","languages_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/languages","stargazers_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/stargazers","contributors_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/contributors","subscribers_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/subscribers","subscription_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/subscription","commits_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/commits{/sha}","git_commits_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/git/commits{/sha}","comments_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/comments{/number}","issue_comment_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/issues/comments{/number}","contents_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/contents/{+path}","compare_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/merges","archive_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/downloads","issues_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/issues{/number}","pulls_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/pulls{/number}","milestones_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/milestones{/number}","notifications_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/labels{/name}","releases_url":"https://api.github.com/repos/brantburnett/Linq2Couchbase/releases{/id}","created_at":"2015-06-04T22:50:39Z","updated_at":"2015-06-05T17:01:52Z","pushed_at":"2015-07-04T18:25:58Z","git_url":"git://github.com/brantburnett/Linq2Couchbase.git","ssh_url":"git@github.com:brantburnett/Linq2Couchbase.git","clone_url":"https://github.com/brantburnett/Linq2Couchbase.git","svn_url":"https://github.com/brantburnett/Linq2Couchbase","homepage":null,"size":808,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"couchbaselabs:master","ref":"master","sha":"30b800661e2372feab8840fe0b86db3e63a16218","user":{"login":"couchbaselabs","id":636956,"avatar_url":"https://avatars.githubusercontent.com/u/636956?v=3","gravatar_id":"","url":"https://api.github.com/users/couchbaselabs","html_url":"https://github.com/couchbaselabs","followers_url":"https://api.github.com/users/couchbaselabs/followers","following_url":"https://api.github.com/users/couchbaselabs/following{/other_user}","gists_url":"https://api.github.com/users/couchbaselabs/gists{/gist_id}","starred_url":"https://api.github.com/users/couchbaselabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/couchbaselabs/subscriptions","organizations_url":"https://api.github.com/users/couchbaselabs/orgs","repos_url":"https://api.github.com/users/couchbaselabs/repos","events_url":"https://api.github.com/users/couchbaselabs/events{/privacy}","received_events_url":"https://api.github.com/users/couchbaselabs/received_events","type":"Organization","site_admin":false},"repo":{"id":24389293,"name":"Linq2Couchbase","full_name":"couchbaselabs/Linq2Couchbase","owner":{"login":"couchbaselabs","id":636956,"avatar_url":"https://avatars.githubusercontent.com/u/636956?v=3","gravatar_id":"","url":"https://api.github.com/users/couchbaselabs","html_url":"https://github.com/couchbaselabs","followers_url":"https://api.github.com/users/couchbaselabs/followers","following_url":"https://api.github.com/users/couchbaselabs/following{/other_user}","gists_url":"https://api.github.com/users/couchbaselabs/gists{/gist_id}","starred_url":"https://api.github.com/users/couchbaselabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/couchbaselabs/subscriptions","organizations_url":"https://api.github.com/users/couchbaselabs/orgs","repos_url":"https://api.github.com/users/couchbaselabs/repos","events_url":"https://api.github.com/users/couchbaselabs/events{/privacy}","received_events_url":"https://api.github.com/users/couchbaselabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/couchbaselabs/Linq2Couchbase","description":"A Language Integrated Query (LINQ) provider for the Couchbase .NET SDK","fork":false,"url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase","forks_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/forks","keys_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/teams","hooks_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/hooks","issue_events_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/issues/events{/number}","events_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/events","assignees_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/assignees{/user}","branches_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/branches{/branch}","tags_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/tags","blobs_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/git/refs{/sha}","trees_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/statuses/{sha}","languages_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/languages","stargazers_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/stargazers","contributors_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/contributors","subscribers_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/subscribers","subscription_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/subscription","commits_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/commits{/sha}","git_commits_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/git/commits{/sha}","comments_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/comments{/number}","issue_comment_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/issues/comments{/number}","contents_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/contents/{+path}","compare_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/merges","archive_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/downloads","issues_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/issues{/number}","pulls_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/pulls{/number}","milestones_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/milestones{/number}","notifications_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/labels{/name}","releases_url":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/releases{/id}","created_at":"2014-09-23T21:02:02Z","updated_at":"2015-04-02T09:27:06Z","pushed_at":"2015-07-15T03:31:36Z","git_url":"git://github.com/couchbaselabs/Linq2Couchbase.git","ssh_url":"git@github.com:couchbaselabs/Linq2Couchbase.git","clone_url":"https://github.com/couchbaselabs/Linq2Couchbase.git","svn_url":"https://github.com/couchbaselabs/Linq2Couchbase","homepage":null,"size":1053,"stargazers_count":8,"watchers_count":8,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":0,"forks":8,"open_issues":0,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/pulls/19"},"html":{"href":"https://github.com/couchbaselabs/Linq2Couchbase/pull/19"},"issue":{"href":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/issues/19"},"comments":{"href":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/couchbaselabs/Linq2Couchbase/statuses/9de41440465dea9f1d09015a4e129b6f5a63e4ae"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jeffrymorris","id":454176,"avatar_url":"https://avatars.githubusercontent.com/u/454176?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffrymorris","html_url":"https://github.com/jeffrymorris","followers_url":"https://api.github.com/users/jeffrymorris/followers","following_url":"https://api.github.com/users/jeffrymorris/following{/other_user}","gists_url":"https://api.github.com/users/jeffrymorris/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffrymorris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffrymorris/subscriptions","organizations_url":"https://api.github.com/users/jeffrymorris/orgs","repos_url":"https://api.github.com/users/jeffrymorris/repos","events_url":"https://api.github.com/users/jeffrymorris/events{/privacy}","received_events_url":"https://api.github.com/users/jeffrymorris/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":995,"deletions":9,"changed_files":15}}