{"id":200904,"date":"2020-11-24T12:44:06","date_gmt":"2020-11-24T04:44:06","guid":{"rendered":"http:\/\/4563.org\/?p=200904"},"modified":"2020-11-24T12:44:06","modified_gmt":"2020-11-24T04:44:06","slug":"%e8%80%81%e5%93%a5%e4%bb%ac%e6%b1%82%e5%8a%a9-mongodb-%e7%9a%84%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=200904","title":{"rendered":"\u8001\u54e5\u4eec,\u6c42\u52a9 MongoDB \u7684\u95ee\u9898!"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u8001\u54e5\u4eec,\u6c42\u52a9 MongoDB \u7684\u95ee\u9898!               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : yngzij <\/span>  <span><i><\/i> 3<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<ul>\n<li>A \u8868: ids \u6570\u7ec4(\u6bcf\u4e2a <strong>item<\/strong> \u5bf9\u5e94 B \u8868\u7684 <strong>id<\/strong> ),created_at.<\/li>\n<li>B \u8868: status(\u72b6\u6001).<\/li>\n<li>\u5ba2\u6237\u7aef\u4f20\u6765\u7684\u662f\u67e5\u627e\u7684\u5f00\u59cb\u65f6\u95f4\u548c\u7ed3\u675f\u65f6\u95f4.<\/li>\n<\/ul>\n<blockquote>\n<p>\u8001\u54e5\u4eec,\u95ee\u9898\u662f\u8fd9\u6837\u7684: \u9700\u8981\u4ece<strong>A \u8868<\/strong>\u4e2d\u62ff\u51fa <strong>ids<\/strong> \u53bb<strong>B \u8868<\/strong>\u4e2d\u67e5\u627e <strong>status<\/strong> ,\u4f46\u662f\u5b83\u662f\u4e00\u4e2a\u6570\u7ec4,\u4e5f\u5c31\u662f\u591a\u6761\u8bb0\u5f55,\u6700\u540e\u8fd8\u9700\u8981\u6839\u636e <strong>created_at<\/strong> \u6bcf\u5929\u5206\u9875.<\/p>\n<\/blockquote>\n<blockquote>\n<p>\u5728<strong>A \u8868<\/strong>\u67e5\u627e\u5230\u4e00\u6761\u8bb0\u5f55\u540e\u53ef\u4ee5\u76f4\u63a5 <strong>range ids<\/strong> \u8fde\u8868\u67e5\u8be2\u5728<strong>B \u8868<\/strong>\u4e2d\u7684\u72b6\u6001\u5417?<\/p>\n<\/blockquote>\n<blockquote>\n<p>\u5c1d\u8bd5\u5728 A \u8868\u5355\u4e2d\u6839\u636e <strong>created_at<\/strong> \u67e5\u627e\u65f6\u95f4\u8303\u56f4\u5339\u914d\u5230\u7684\u8bb0\u5f55,\u4f46\u662f\u540c\u4e00 <strong>created_at<\/strong> \u5bf9\u5e94\u591a\u6761\u8bb0\u5f55\u6211\u6ca1\u529e\u6cd5\u5206\u9875\u4e86.<\/p>\n<\/blockquote>\n<h2>\u6c42 V \u53cb\u7ed9\u4e2a\u601d\u8def<\/h2>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>3<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4301508\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : muzuiget <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5efa\u7d22\u5f15\u554a\uff0c\u8fd9\u91cc\u7d22\u5f15\u4e0d\u662f\u6570\u636e\u5e93\u672c\u8eab\u7684\u7d22\u5f15\uff0c\u800c\u662f\u4f60\u81ea\u5df1\u7684\u4e1a\u52a1\u7d22\u5f15\u3002<\/p>\n<p>\u6bd4\u5982\u4f60\u5199 A \u3001B \u8868\u65f6\uff0c\u628a\u4ee5\u540e\u9700\u8981\u67e5\u627e\u7684\u5c5e\u6027\u63d0\u53d6\u51fa\u6765\uff0c\u5199\u5230 C \u8868\uff0c\u7136\u540e\u4ee5\u540e\u6839\u636e C \u8868\u6765\u67e5\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4301509\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lithium4010 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             a \u8868\u6269\u4e00\u5217\u653e items \u7684\u72b6\u6001\u6570\u7ec4                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4301510\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : yngzij <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @lithium4010 #2 \u662f\u7684\u6700\u540e\u662f\u4f7f\u7528**lookup \u89e3\u51b3\u7684**.                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u8001\u54e5\u4eec,\u6c42\u52a9 MongoDB \u7684\u95ee&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/200904"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=200904"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/200904\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=200904"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=200904"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=200904"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}