ROWTYPE helper will be used to declare rowtype variable.
You might be interested in ROWTYPE Record Declaration.
var ROWTYPE = (stmt, binds = [], obj = new Object()) => { EXEC(`SELECT * FROM (${stmt}) LIMIT 0`,binds); for(let i = 1;i <= _RS.getColumnCount();i++)obj[_ROWS.getColumnName(i)] = null; return obj; };
Last updated 7 months ago