Wondering how to add LIMIT = max rows to query
/**
* param {Numbber} maxReturnedRows
* @properties={typeid:24,uuid:"8F6D517D-15BE-45CA-B84C-34F4C8060305"}
*/
function createSubscribersFullList(maxReturnedRows) {
var query = datasources.db.gob_business_system.subscribers.createSelect();
query.result.addPk(); // return only the primary key
// TODO: NEED TO ADD MAX RETURNED ROWS TO QUERY
// add where clause
query.where.add(query.columns.electronic_issues_remaining .gt(0));
plugins.dialogs.showInfoDialog("Subscribers Full List for Export", 'Records found: ' + foundset.getSize() );
}