{"id":230319,"date":"2020-12-23T02:30:51","date_gmt":"2020-12-22T18:30:51","guid":{"rendered":"http:\/\/4563.org\/?p=230319"},"modified":"2020-12-23T02:30:51","modified_gmt":"2020-12-22T18:30:51","slug":"go-%e6%93%8d%e4%bd%9c%e6%95%b0%e6%8d%ae%e5%ba%93%ef%bc%8c%e4%bd%bf%e7%94%a8-sqlbuilder-%e8%bf%98%e6%98%af-orm%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=230319","title":{"rendered":"Go \u64cd\u4f5c\u6570\u636e\u5e93\uff0c\u4f7f\u7528 SQLBuilder \u8fd8\u662f ORM\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  Go \u64cd\u4f5c\u6570\u636e\u5e93\uff0c\u4f7f\u7528 SQLBuilder \u8fd8\u662f ORM\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : tinyRat <\/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<p>\u662f\u8fd9\u6837\u7684\uff0c\u540c\u4e8b\u6709\u4eba\u89c9\u5f97\u4f7f\u7528 ORM \u4f1a\u5f71\u54cd\u6027\u80fd\u3002\u4f7f\u7528 SQLBuilder \u7684\u8bdd\uff0c\u5b57\u7b26\u4e32\u592a\u957f\uff0c\u592a\u591a\u4e86\u3002<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>9<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4726628\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : cheng6563 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e00\u822c\u6765\u8bf4\u64cd\u4f5c SQL \u6570\u636e\u5e93\u7684\u8bdd\u5e94\u7528\u672c\u8eab\u7684 CPU \u8017\u65f6\u90fd\u53ef\u4ee5\u5ffd\u7565\u4e86\uff0c\u74f6\u9888\u57fa\u672c\u90fd\u5728\u6570\u636e\u5e93\u4e0a\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4726629\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Mithril <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6ca1\u7528\u8fc7 Go\uff0c\u4e0d\u8fc7\u5f88\u591a\u4eba\u624b\u64b8\u7684 SQL \u8fd8\u4e0d\u5982 ORM \u81ea\u5df1\u751f\u6210\u7684\u597d\u3002\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4726630\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lancelock <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u80fd\u5f71\u54cd\u5565\u6027\u80fd\uff0c\u5f00\u53d1\u6a21\u5f0f\u53ef\u4ee5 log \u6253\u51fa\u62fc\u63a5\u51fa\u7684 sql\uff0c\u81ea\u5df1\u8bc4\u4f30\u8bc4\u4f30                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4726631\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : MeteorCat <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u770b\u5565\u4e1a\u52a1\u5427\uff0c\u6709\u7684\u4e1a\u52a1\u67e5\u7684 sql \u8bed\u53e5\u5947\u5947\u602a\u602a\u7684\uff0c\u6ca1\u529e\u6cd5\u7528 orm \u5904\u7406                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4726632\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : keepeye <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53ef\u4ee5\u5ffd\u7565\u7684\u5f71\u54cd&#8230;. \u53c8\u4e0d\u662f\u811a\u672c\u8bed\u8a00\u7684 ORM                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4726633\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hoyixi <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u54ea\u4e2a\u4ee5\u540e\u597d\u7ef4\u62a4\uff0c\u5c31\u7528\u54ea\u4e2a\uff0c\u4e0d\u7136\u5c31\u662f\u81ea\u5df1\u7ed9\u81ea\u5df1\u627e\u4e0d\u81ea\u5728                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4726634\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : huayumo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             gorm \u591f\u7528\u4e86,\u5982\u679c\u4e0d\u591f\u7528\u53ef\u4ee5\u9009\u62e9\u5176\u4ed6\u7684,\u95ee\u9898\u4e0d\u5927                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4726635\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : waising <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5728\u7528 squirrel + sqlx \u4e3b\u8981\u662f orm \u5173\u8054\u914d\u7f6e\u7684\u5934\u75bc                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4726636\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : raaaaaar <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u54ea\u4e2a\u597d\u7528\u7528\u54ea\u4e2a\uff0c\u6027\u80fd\u95ee\u9898\u7684\u610f\u601d\u5c31\u662f\u6ca1\u6709\u95ee\u9898                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>Go \u64cd\u4f5c\u6570\u636e\u5e93\uff0c\u4f7f\u7528 SQLBu&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\/230319"}],"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=230319"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/230319\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=230319"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=230319"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=230319"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}