{"action":"created","issue":{"url":"https://api.github.com/repos/ideawu/ssdb/issues/654","labels_url":"https://api.github.com/repos/ideawu/ssdb/issues/654/labels{/name}","comments_url":"https://api.github.com/repos/ideawu/ssdb/issues/654/comments","events_url":"https://api.github.com/repos/ideawu/ssdb/issues/654/events","html_url":"https://github.com/ideawu/ssdb/issues/654","id":69368840,"number":654,"title":"SSDB是否支持前缀查询？","user":{"login":"shinebay","id":7820385,"avatar_url":"https://avatars.githubusercontent.com/u/7820385?v=3","gravatar_id":"","url":"https://api.github.com/users/shinebay","html_url":"https://github.com/shinebay","followers_url":"https://api.github.com/users/shinebay/followers","following_url":"https://api.github.com/users/shinebay/following{/other_user}","gists_url":"https://api.github.com/users/shinebay/gists{/gist_id}","starred_url":"https://api.github.com/users/shinebay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shinebay/subscriptions","organizations_url":"https://api.github.com/users/shinebay/orgs","repos_url":"https://api.github.com/users/shinebay/repos","events_url":"https://api.github.com/users/shinebay/events{/privacy}","received_events_url":"https://api.github.com/users/shinebay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-19T01:33:25Z","updated_at":"2015-04-19T02:53:13Z","closed_at":null,"body":"业务中一个最普通的案例就是用户在论坛中发表了哪些帖子，用SSDB将用户uid和对应的帖子id存下来：\r\nuser3_15,\r\nuser3_21,\r\nuser8_43,\r\nuser8_48,\r\nuser8_55,\r\nuser9_27,\r\nuser9_34\r\n现在我想得到user8发表的所有帖子，是否支持$ssdb->get(' user8_* ')这样的通配符查询，这样就将user8_前缀的值全部get出来？如果不行，该怎样解决这种业务场景？"},"comment":{"url":"https://api.github.com/repos/ideawu/ssdb/issues/comments/94227620","html_url":"https://github.com/ideawu/ssdb/issues/654#issuecomment-94227620","issue_url":"https://api.github.com/repos/ideawu/ssdb/issues/654","id":94227620,"user":{"login":"ideawu","id":3202758,"avatar_url":"https://avatars.githubusercontent.com/u/3202758?v=3","gravatar_id":"","url":"https://api.github.com/users/ideawu","html_url":"https://github.com/ideawu","followers_url":"https://api.github.com/users/ideawu/followers","following_url":"https://api.github.com/users/ideawu/following{/other_user}","gists_url":"https://api.github.com/users/ideawu/gists{/gist_id}","starred_url":"https://api.github.com/users/ideawu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ideawu/subscriptions","organizations_url":"https://api.github.com/users/ideawu/orgs","repos_url":"https://api.github.com/users/ideawu/repos","events_url":"https://api.github.com/users/ideawu/events{/privacy}","received_events_url":"https://api.github.com/users/ideawu/received_events","type":"User","site_admin":false},"created_at":"2015-04-19T02:53:13Z","updated_at":"2015-04-19T02:53:13Z","body":"支持, 请查看 scan 命令的文档和示例.\r\n\r\n你可以在 ssdb-cli 执行下面的命令试试:\r\n\r\n```\r\nscan user8_ \"\" 10\r\n```"}}