node-oracle - node.js查询操作oracle数据库返回数据只有前100条?
阿神
阿神 2017-04-17 11:58:31
0
1
642


数据库有3149条数据


node只读去了前一百条?求帮助怎么解决

阿神
阿神

闭关修行中......

reply all(1)
Peter_Zhu

Without using the ResultSet, the default maximum number of query results for nodejs to query the Oracle database is 100. If you want to see more, you must set it yourself:
var oracledb = require('oracledb ');
oracledb.maxRows = 50000;
If you use ResultSet, there is no need to set maxRows, and all data can be automatically queried. For specific usage, please refer to the official documentation.
https://github.com/oracle/node-oracledb/blob/master/doc/api.md

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template