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

<small id='9ZGK5'></small><noframes id='9ZGK5'>

    • <bdo id='9ZGK5'></bdo><ul id='9ZGK5'></ul>

      <legend id='9ZGK5'><style id='9ZGK5'><dir id='9ZGK5'><q id='9ZGK5'></q></dir></style></legend>

      <tfoot id='9ZGK5'></tfoot>

        @JdbcInsert 插入多个条目

        时间:2023-09-05
            <legend id='B3hMP'><style id='B3hMP'><dir id='B3hMP'><q id='B3hMP'></q></dir></style></legend>

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

              <tfoot id='B3hMP'></tfoot>
            2. <i id='B3hMP'><tr id='B3hMP'><dt id='B3hMP'><q id='B3hMP'><span id='B3hMP'><b id='B3hMP'><form id='B3hMP'><ins id='B3hMP'></ins><ul id='B3hMP'></ul><sub id='B3hMP'></sub></form><legend id='B3hMP'></legend><bdo id='B3hMP'><pre id='B3hMP'><center id='B3hMP'></center></pre></bdo></b><th id='B3hMP'></th></span></q></dt></tr></i><div id='B3hMP'><tfoot id='B3hMP'></tfoot><dl id='B3hMP'><fieldset id='B3hMP'></fieldset></dl></div>
                <bdo id='B3hMP'></bdo><ul id='B3hMP'></ul>
                    <tbody id='B3hMP'></tbody>
                  本文介绍了@JdbcInsert 插入多个条目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  我正在尝试使用 JavaScript @JdbcInsert 方法将条目插入到我的 DB2 数据库中.而且效果很好.

                  <上一页>变量我的数据={文档类型:类型",文档号:1,文档名称:名称"}@JdbcInsert("db2", "MYTABLE", myData);

                  我需要的是一次插入多个条目..所以我需要以某种方式更改 myData 对象..但我应该怎么做..假设我需要类似

                  <上一页>变量我的数据={{文档类型:类型",文档号:1,文档名称:名称 1"},{文档类型:类型",文档号:1,文档名:name2"}}

                  但它并没有真正起作用..

                  解决方案

                  试试这个,var myData=[{
                  文档类型:类型",
                  DOCID: 1,
                  文档名称:name1"
                  },{文档类型:类型",
                  DOCID: 1,
                  文档名称:name2"
                  }]

                  I'm trying to insert an entry into my DB2 db by using JavaScript @JdbcInsert method. And it works perfect.

                  var myData={  
                      DOCTYPE: "type",  
                      DOCID: 1,  
                      DOCNAME: "name"  
                  }
                  
                  @JdbcInsert("db2", "MYTABLE", myData);  
                  

                  What I need is to insert multiple entries at a time.. So I need to change myData object somehow.. But how should I do that.. Assume I need something like

                  var myData={{  
                      DOCTYPE: "type",  
                      DOCID: 1,  
                      DOCNAME: "name1"  
                  },{
                      DOCTYPE: "type",  
                      DOCID: 1,  
                      DOCNAME: "name2"  
                  }}
                  

                  but it doesn't really work..

                  解决方案

                  try this, var myData=[{
                  DOCTYPE: "type",
                  DOCID: 1,
                  DOCNAME: "name1"
                  },{ DOCTYPE: "type",
                  DOCID: 1,
                  DOCNAME: "name2"
                  }]

                  这篇关于@JdbcInsert 插入多个条目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:如何使 Geolocation API 函数在 localhost file://上工作 下一篇:“var FOO = FOO || 是什么?{}"(为该变量分配一个

                  相关文章

                  最新文章

                    <tfoot id='CWAHh'></tfoot>
                    1. <small id='CWAHh'></small><noframes id='CWAHh'>

                      <legend id='CWAHh'><style id='CWAHh'><dir id='CWAHh'><q id='CWAHh'></q></dir></style></legend>
                        <bdo id='CWAHh'></bdo><ul id='CWAHh'></ul>

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