{"action":"opened","number":288,"pull_request":{"url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/pulls/288","id":265151310,"node_id":"MDExOlB1bGxSZXF1ZXN0MjY1MTUxMzEw","html_url":"https://github.com/rust-rocksdb/rust-rocksdb/pull/288","diff_url":"https://github.com/rust-rocksdb/rust-rocksdb/pull/288.diff","patch_url":"https://github.com/rust-rocksdb/rust-rocksdb/pull/288.patch","issue_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/issues/288","number":288,"state":"open","locked":false,"title":"Added raw_iterator_opt method to DB","user":{"login":"xuchaoqian","id":1064052,"node_id":"MDQ6VXNlcjEwNjQwNTI=","avatar_url":"https://avatars0.githubusercontent.com/u/1064052?v=4","gravatar_id":"","url":"https://api.github.com/users/xuchaoqian","html_url":"https://github.com/xuchaoqian","followers_url":"https://api.github.com/users/xuchaoqian/followers","following_url":"https://api.github.com/users/xuchaoqian/following{/other_user}","gists_url":"https://api.github.com/users/xuchaoqian/gists{/gist_id}","starred_url":"https://api.github.com/users/xuchaoqian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuchaoqian/subscriptions","organizations_url":"https://api.github.com/users/xuchaoqian/orgs","repos_url":"https://api.github.com/users/xuchaoqian/repos","events_url":"https://api.github.com/users/xuchaoqian/events{/privacy}","received_events_url":"https://api.github.com/users/xuchaoqian/received_events","type":"User","site_admin":false},"body":"Now we can use the DBRawIterator directly:\r\n\r\n```\r\n...\r\n        let mut opts = ReadOptions::default();\r\n        opts.set_prefix_same_as_start(true);\r\n        let mut iter: DBRawIterator = db.raw_iterator_opt(opts);\r\n        iter.seek(b\"prefix\");\r\n        iter.seek_to_last();\r\n...\r\n```","created_at":"2019-03-28T00:59:37Z","updated_at":"2019-03-28T00:59:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/pulls/288/commits","review_comments_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/pulls/288/comments","review_comment_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/issues/288/comments","statuses_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/statuses/2446e49a5e19fc5ee66493120ce3e2d96118f59c","head":{"label":"xuchaoqian:add-raw_iterator_opt-method-to-DB","ref":"add-raw_iterator_opt-method-to-DB","sha":"2446e49a5e19fc5ee66493120ce3e2d96118f59c","user":{"login":"xuchaoqian","id":1064052,"node_id":"MDQ6VXNlcjEwNjQwNTI=","avatar_url":"https://avatars0.githubusercontent.com/u/1064052?v=4","gravatar_id":"","url":"https://api.github.com/users/xuchaoqian","html_url":"https://github.com/xuchaoqian","followers_url":"https://api.github.com/users/xuchaoqian/followers","following_url":"https://api.github.com/users/xuchaoqian/following{/other_user}","gists_url":"https://api.github.com/users/xuchaoqian/gists{/gist_id}","starred_url":"https://api.github.com/users/xuchaoqian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuchaoqian/subscriptions","organizations_url":"https://api.github.com/users/xuchaoqian/orgs","repos_url":"https://api.github.com/users/xuchaoqian/repos","events_url":"https://api.github.com/users/xuchaoqian/events{/privacy}","received_events_url":"https://api.github.com/users/xuchaoqian/received_events","type":"User","site_admin":false},"repo":{"id":178096466,"node_id":"MDEwOlJlcG9zaXRvcnkxNzgwOTY0NjY=","name":"rust-rocksdb","full_name":"xuchaoqian/rust-rocksdb","private":false,"owner":{"login":"xuchaoqian","id":1064052,"node_id":"MDQ6VXNlcjEwNjQwNTI=","avatar_url":"https://avatars0.githubusercontent.com/u/1064052?v=4","gravatar_id":"","url":"https://api.github.com/users/xuchaoqian","html_url":"https://github.com/xuchaoqian","followers_url":"https://api.github.com/users/xuchaoqian/followers","following_url":"https://api.github.com/users/xuchaoqian/following{/other_user}","gists_url":"https://api.github.com/users/xuchaoqian/gists{/gist_id}","starred_url":"https://api.github.com/users/xuchaoqian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuchaoqian/subscriptions","organizations_url":"https://api.github.com/users/xuchaoqian/orgs","repos_url":"https://api.github.com/users/xuchaoqian/repos","events_url":"https://api.github.com/users/xuchaoqian/events{/privacy}","received_events_url":"https://api.github.com/users/xuchaoqian/received_events","type":"User","site_admin":false},"html_url":"https://github.com/xuchaoqian/rust-rocksdb","description":"rust wrapper for rocksdb","fork":true,"url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb","forks_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/forks","keys_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/teams","hooks_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/hooks","issue_events_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/issues/events{/number}","events_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/events","assignees_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/assignees{/user}","branches_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/branches{/branch}","tags_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/tags","blobs_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/statuses/{sha}","languages_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/languages","stargazers_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/stargazers","contributors_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/contributors","subscribers_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/subscribers","subscription_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/subscription","commits_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/contents/{+path}","compare_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/merges","archive_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/downloads","issues_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/issues{/number}","pulls_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/pulls{/number}","milestones_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/milestones{/number}","notifications_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/labels{/name}","releases_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/releases{/id}","deployments_url":"https://api.github.com/repos/xuchaoqian/rust-rocksdb/deployments","created_at":"2019-03-28T00:37:44Z","updated_at":"2019-03-28T00:37:46Z","pushed_at":"2019-03-28T00:54:22Z","git_url":"git://github.com/xuchaoqian/rust-rocksdb.git","ssh_url":"git@github.com:xuchaoqian/rust-rocksdb.git","clone_url":"https://github.com/xuchaoqian/rust-rocksdb.git","svn_url":"https://github.com/xuchaoqian/rust-rocksdb","homepage":null,"size":806,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rust-rocksdb:master","ref":"master","sha":"b51002bc583c89af31c512f8955734e25cc6cb98","user":{"login":"rust-rocksdb","id":43312114,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzMzEyMTE0","avatar_url":"https://avatars2.githubusercontent.com/u/43312114?v=4","gravatar_id":"","url":"https://api.github.com/users/rust-rocksdb","html_url":"https://github.com/rust-rocksdb","followers_url":"https://api.github.com/users/rust-rocksdb/followers","following_url":"https://api.github.com/users/rust-rocksdb/following{/other_user}","gists_url":"https://api.github.com/users/rust-rocksdb/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-rocksdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-rocksdb/subscriptions","organizations_url":"https://api.github.com/users/rust-rocksdb/orgs","repos_url":"https://api.github.com/users/rust-rocksdb/repos","events_url":"https://api.github.com/users/rust-rocksdb/events{/privacy}","received_events_url":"https://api.github.com/users/rust-rocksdb/received_events","type":"Organization","site_admin":false},"repo":{"id":26731785,"node_id":"MDEwOlJlcG9zaXRvcnkyNjczMTc4NQ==","name":"rust-rocksdb","full_name":"rust-rocksdb/rust-rocksdb","private":false,"owner":{"login":"rust-rocksdb","id":43312114,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzMzEyMTE0","avatar_url":"https://avatars2.githubusercontent.com/u/43312114?v=4","gravatar_id":"","url":"https://api.github.com/users/rust-rocksdb","html_url":"https://github.com/rust-rocksdb","followers_url":"https://api.github.com/users/rust-rocksdb/followers","following_url":"https://api.github.com/users/rust-rocksdb/following{/other_user}","gists_url":"https://api.github.com/users/rust-rocksdb/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-rocksdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-rocksdb/subscriptions","organizations_url":"https://api.github.com/users/rust-rocksdb/orgs","repos_url":"https://api.github.com/users/rust-rocksdb/repos","events_url":"https://api.github.com/users/rust-rocksdb/events{/privacy}","received_events_url":"https://api.github.com/users/rust-rocksdb/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/rust-rocksdb/rust-rocksdb","description":"rust wrapper for rocksdb","fork":false,"url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb","forks_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/forks","keys_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/teams","hooks_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/hooks","issue_events_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/issues/events{/number}","events_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/events","assignees_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/assignees{/user}","branches_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/branches{/branch}","tags_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/tags","blobs_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/statuses/{sha}","languages_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/languages","stargazers_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/stargazers","contributors_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/contributors","subscribers_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/subscribers","subscription_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/subscription","commits_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/contents/{+path}","compare_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/merges","archive_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/downloads","issues_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/issues{/number}","pulls_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/pulls{/number}","milestones_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/milestones{/number}","notifications_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/labels{/name}","releases_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/releases{/id}","deployments_url":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/deployments","created_at":"2014-11-16T23:19:18Z","updated_at":"2019-03-27T10:33:26Z","pushed_at":"2019-03-27T10:34:31Z","git_url":"git://github.com/rust-rocksdb/rust-rocksdb.git","ssh_url":"git@github.com:rust-rocksdb/rust-rocksdb.git","clone_url":"https://github.com/rust-rocksdb/rust-rocksdb.git","svn_url":"https://github.com/rust-rocksdb/rust-rocksdb","homepage":null,"size":806,"stargazers_count":382,"watchers_count":382,"language":"Rust","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":149,"mirror_url":null,"archived":false,"open_issues_count":18,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":149,"open_issues":18,"watchers":382,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/pulls/288"},"html":{"href":"https://github.com/rust-rocksdb/rust-rocksdb/pull/288"},"issue":{"href":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/issues/288"},"comments":{"href":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/issues/288/comments"},"review_comments":{"href":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/pulls/288/comments"},"review_comment":{"href":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/pulls/288/commits"},"statuses":{"href":"https://api.github.com/repos/rust-rocksdb/rust-rocksdb/statuses/2446e49a5e19fc5ee66493120ce3e2d96118f59c"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":4,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"xuchaoqian"}}