'use strict';

function searchApplications (args, callback) {
  var seneca = this;
  var applicationsEntity = seneca.make$('cd/applications');
  var query = args.query;

  applicationsEntity.list$(query, callback);
}

module.exports = searchApplications;

'use strict';

function searchApplications (args, callback) {
  var seneca = this;
  var applicationsEntity = seneca.make$('cd/applications');
  var query = args.query;
  if(!query.limit$) query.limit$ = 'NULL';
  applicationsEntity.list$(query, callback);
}

module.exports = searchApplications;

add limit null to search applications