<small id='FWX1V'></small><noframes id='FWX1V'>

    <bdo id='FWX1V'></bdo><ul id='FWX1V'></ul>
<i id='FWX1V'><tr id='FWX1V'><dt id='FWX1V'><q id='FWX1V'><span id='FWX1V'><b id='FWX1V'><form id='FWX1V'><ins id='FWX1V'></ins><ul id='FWX1V'></ul><sub id='FWX1V'></sub></form><legend id='FWX1V'></legend><bdo id='FWX1V'><pre id='FWX1V'><center id='FWX1V'></center></pre></bdo></b><th id='FWX1V'></th></span></q></dt></tr></i><div id='FWX1V'><tfoot id='FWX1V'></tfoot><dl id='FWX1V'><fieldset id='FWX1V'></fieldset></dl></div>
  • <legend id='FWX1V'><style id='FWX1V'><dir id='FWX1V'><q id='FWX1V'></q></dir></style></legend>

      1. <tfoot id='FWX1V'></tfoot>

        Sequelize include - 不包括(删除)数据透视数据

        Sequelize include - Don#39;t include (remove) pivot data(Sequelize include - 不包括(删除)数据透视数据)

          • <bdo id='mCPGH'></bdo><ul id='mCPGH'></ul>

              <small id='mCPGH'></small><noframes id='mCPGH'>

                  <tbody id='mCPGH'></tbody>
                <legend id='mCPGH'><style id='mCPGH'><dir id='mCPGH'><q id='mCPGH'></q></dir></style></legend>
                <tfoot id='mCPGH'></tfoot>

                  <i id='mCPGH'><tr id='mCPGH'><dt id='mCPGH'><q id='mCPGH'><span id='mCPGH'><b id='mCPGH'><form id='mCPGH'><ins id='mCPGH'></ins><ul id='mCPGH'></ul><sub id='mCPGH'></sub></form><legend id='mCPGH'></legend><bdo id='mCPGH'><pre id='mCPGH'><center id='mCPGH'></center></pre></bdo></b><th id='mCPGH'></th></span></q></dt></tr></i><div id='mCPGH'><tfoot id='mCPGH'></tfoot><dl id='mCPGH'><fieldset id='mCPGH'></fieldset></dl></div>
                • 本文介绍了Sequelize include - 不包括(删除)数据透视数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在使用节点的 Sequelize 包.我有一个典型的包含人对多的关系.

                  I'm using the Sequelize package for node. I have a typical include on man to many relationship.

                  Item.findAll({
                      include: {model: Blah: as 'blahs'}
                  });
                  

                  一切正常,但它返回每个子项目的数据透视集.我不需要它.有什么方法可以禁用它或指定所需的数据透视字段?

                  All works well but it returns the set with the pivot data on each sub item. I don't need it. Is there any way to disable it or to specify the pivot fields needed?

                  推荐答案

                  找到我的答案:

                  {model: Model, as: 'model', through: {attributes: []}}
                  

                  这篇关于Sequelize include - 不包括(删除)数据透视数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Pause youtube video, youtube api(暂停 youtube 视频,youtube api)
                  Youtube iframe api not triggering onYouTubeIframeAPIReady(Youtube iframe api 未触发 onYouTubeIframeAPIReady)
                  How can I stop a video with Javascript in Youtube?(如何在 Youtube 中停止使用 Javascript 的视频?)
                  How to call Greasemonkey#39;s GM_ functions from code that must run in the target page scope?(如何从必须在目标页面范围内运行的代码中调用 Greasemonkey 的 GM_ 函数?)
                  How do you mute an embedded Youtube player?(如何使嵌入式 Youtube 播放器静音?)
                  How to get number of video views with YouTube API?(如何使用 YouTube API 获取视频观看次数?)
                  <i id='dYRS5'><tr id='dYRS5'><dt id='dYRS5'><q id='dYRS5'><span id='dYRS5'><b id='dYRS5'><form id='dYRS5'><ins id='dYRS5'></ins><ul id='dYRS5'></ul><sub id='dYRS5'></sub></form><legend id='dYRS5'></legend><bdo id='dYRS5'><pre id='dYRS5'><center id='dYRS5'></center></pre></bdo></b><th id='dYRS5'></th></span></q></dt></tr></i><div id='dYRS5'><tfoot id='dYRS5'></tfoot><dl id='dYRS5'><fieldset id='dYRS5'></fieldset></dl></div>
                  <legend id='dYRS5'><style id='dYRS5'><dir id='dYRS5'><q id='dYRS5'></q></dir></style></legend>

                      <small id='dYRS5'></small><noframes id='dYRS5'>

                        <tbody id='dYRS5'></tbody>
                    • <tfoot id='dYRS5'></tfoot>

                          <bdo id='dYRS5'></bdo><ul id='dYRS5'></ul>