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

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

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

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

    2. group by 在sequelize中是如何工作的?

      How does group by works in sequelize?(group by 在sequelize中是如何工作的?)
          <tbody id='utAr6'></tbody>
        1. <tfoot id='utAr6'></tfoot>

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

          1. <small id='utAr6'></small><noframes id='utAr6'>

              <legend id='utAr6'><style id='utAr6'><dir id='utAr6'><q id='utAr6'></q></dir></style></legend>
                <bdo id='utAr6'></bdo><ul id='utAr6'></ul>
              • 本文介绍了group by 在sequelize中是如何工作的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我正在通过 Sequelize 查找 group by 查询,但似乎找不到任何文档.

                I am looking for group by queries through Sequelize and cannot seem to find any documentation.

                    SELECT column, count(column)  
                    FROM table 
                    GROUP BY column
                

                推荐答案

                问题:https://github.com/sequelize/sequelize/issues/348

                User.findAll({
                 group: ['field']
                })
                

                我使用 sequelize@2.0.0-dev9

                i use sequelize@2.0.0-dev9

                这篇关于group by 在sequelize中是如何工作的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                相关文档推荐

                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='DorGv'><tr id='DorGv'><dt id='DorGv'><q id='DorGv'><span id='DorGv'><b id='DorGv'><form id='DorGv'><ins id='DorGv'></ins><ul id='DorGv'></ul><sub id='DorGv'></sub></form><legend id='DorGv'></legend><bdo id='DorGv'><pre id='DorGv'><center id='DorGv'></center></pre></bdo></b><th id='DorGv'></th></span></q></dt></tr></i><div id='DorGv'><tfoot id='DorGv'></tfoot><dl id='DorGv'><fieldset id='DorGv'></fieldset></dl></div>
                  <bdo id='DorGv'></bdo><ul id='DorGv'></ul>
                  <tfoot id='DorGv'></tfoot>
                    <tbody id='DorGv'></tbody>
                    <legend id='DorGv'><style id='DorGv'><dir id='DorGv'><q id='DorGv'></q></dir></style></legend>

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