{
"name": "qewd-up",
"version": "1.0.0",
"description": "Automated QEWD Builder",
"author": "Rob Tweed <rtw...@mgateway.com>",
"scripts": {
"start": "node node_modules/qewd/up/run_native"
},
"dependencies": {
"git-clone": "^0.1.0",
"qewd": "",
"qewd-transform-json": ""
}
}
npm install
npm start
http://xx.xx.xx.xx:8080/qewd-monitor-adminui
let db = this.db.dbx;
let query = db.sql({sql: "select * from SQLUser.Person", type: "IRIS"});
let result = query.execute();
let results = [];
while ((result = query.next()) !== null) {
results.push(result);
}
--
You received this message because you are subscribed to the Google Groups "Enterprise Web Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enterprise-web-develope...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/enterprise-web-developer-community/1b254484-5f18-4c03-9c95-f47acd3f2669o%40googlegroups.com.
Node.js | v12.16.3 / Express.js / socket.io |
Database Interface | mg-dbx: version: 2.0.12 |
Database | IRIS version: 2019.1 build 111 |
QEWD | 2.50.6 |
ewd-qoper8 | 3.18.1 |
ewd-document-store | 2.1.19 |
ewd-qoper8-express | 3.25.3 |
To unsubscribe from this group and stop receiving emails from it, send an email to enterprise-web-developer-community+unsubscribe@googlegroups.com.
On 14 Jun 2020, at 13:54, FutureWeb.io <iamjos...@gmail.com> wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to enterprise-web-develope...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/enterprise-web-developer-community/37f3a803-631d-41e5-b500-afdb77be72e2o%40googlegroups.com.
Database Interface | mg-dbx: version: 2.0.13 |
To view this discussion on the web, visit https://groups.google.com/d/msgid/enterprise-web-developer-community/37f3a803-631d-41e5-b500-afdb77be72e2o%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to enterprise-web-develope...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/enterprise-web-developer-community/cf73e969-6004-46d6-ac03-b1993b58a8dfo%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/enterprise-web-developer-community/cf73e969-6004-46d6-ac03-b1993b58a8dfo%40googlegroups.com.
On 14 Jun 2020, at 15:29, FutureWeb.io <iamjos...@gmail.com> wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to enterprise-web-develope...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/enterprise-web-developer-community/2a39f3e0-09cc-4866-ba67-d88aaf16faa1o%40googlegroups.com.
On 14 Jun 2020, at 15:32, Rob Tweed <rob....@gmail.com> wrote:
Ok we’ll need to get Chris to investigate
query.cleanup();
let total = db.sql({sql: "select count(*) AS rowCount from TableName", type: "IRIS"});
let totalCount = total.execute();
console.log(totalCount);
while ((totalCount = total.next()) !== null) {
rowCount = totalCount.rowCount;
}
total.cleanup();
To view this discussion on the web, visit https://groups.google.com/d/msgid/enterprise-web-developer-community/2a39f3e0-09cc-4866-ba67-d88aaf16faa1o%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/enterprise-web-developer-community/2a39f3e0-09cc-4866-ba67-d88aaf16faa1o%40googlegroups.com.
On 14 Jun 2020, at 15:57, FutureWeb.io <iamjos...@gmail.com> wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to enterprise-web-develope...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/enterprise-web-developer-community/a5d6dd7b-adb0-4f62-bba0-b58160b79582o%40googlegroups.com.
let db = this.db.dbx;
let results = db.classmethod('User.Persons', 'GetRecords');
finished(
{ok: true, rows: JSON.parse(results)}
);
Hi Chris,If I parse the result returned from the mg-dbx it works fine.Example:Data returned from IRIS:
W ##Class(Data.WRMS.Site).GetPersons()
{"records":[{"ID":"1","State":"4"}],"total":1393}
let db = this.db.dbx;
let results = db.classmethod('Data.WRMS.Site', 'GetRecords');
finished(
{ok: true, rows: JSON.parse(results)}
);
If don't parse, it will double stringifyThanks,
On Monday, June 15, 2020 at 8:36:09 PM UTC+10, Chris Munt wrote:
--
You received this message because you are subscribed to the Google Groups "Enterprise Web Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enterprise-web-develope...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/enterprise-web-developer-community/64ba3c52-deca-4cf5-98bf-1cf902f462edo%40googlegroups.com.
let db = this.db.dbx;
let results = db.classmethod('Data.Persons', 'GetPersons');
To unsubscribe from this group and stop receiving emails from it, send an email to enterprise-web-developer-community+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/enterprise-web-developer-community/64ba3c52-deca-4cf5-98bf-1cf902f462edo%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to enterprise-web-develope...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/enterprise-web-developer-community/64ba3c52-deca-4cf5-98bf-1cf902f462edo%40googlegroups.com.
--
--
You received this message because you are subscribed to the Google Groups "Enterprise Web Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enterprise-web-develope...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/enterprise-web-developer-community/5b7471c9-1e69-4968-a602-4eb42400ad50o%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to enterprise-web-developer-community+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/enterprise-web-developer-community/64ba3c52-deca-4cf5-98bf-1cf902f462edo%40googlegroups.com.
--
--
You received this message because you are subscribed to the Google Groups "Enterprise Web Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enterprise-web-developer-community+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/enterprise-web-developer-community/5b7471c9-1e69-4968-a602-4eb42400ad50o%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to enterprise-web-develope...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/enterprise-web-developer-community/64ba3c52-deca-4cf5-98bf-1cf902f462edo%40googlegroups.com.
--
--
You received this message because you are subscribed to the Google Groups "Enterprise Web Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enterprise-web-develope...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/enterprise-web-developer-community/5b7471c9-1e69-4968-a602-4eb42400ad50o%40googlegroups.com.
--
--
You received this message because you are subscribed to the Google Groups "Enterprise Web Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enterprise-web-develope...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/enterprise-web-developer-community/41620d27-70fe-49b5-950c-7d9eb6898d83o%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to enterprise-web-developer-community+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/enterprise-web-developer-community/64ba3c52-deca-4cf5-98bf-1cf902f462edo%40googlegroups.com.
--
--
You received this message because you are subscribed to the Google Groups "Enterprise Web Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enterprise-web-developer-community+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/enterprise-web-developer-community/5b7471c9-1e69-4968-a602-4eb42400ad50o%40googlegroups.com.
--
--
You received this message because you are subscribed to the Google Groups "Enterprise Web Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enterprise-web-developer-community+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/enterprise-web-developer-community/41620d27-70fe-49b5-950c-7d9eb6898d83o%40googlegroups.com.