code: function CriteriaHelper(opts){
  
    this.whereClause='';
    this.parms=[];
    this.queryOptions={};
    this.omitNull=opts && opts.omitIfNull || true;
    this.omitEmpty=opts && opts.omitIfEmpty || true;
  
  }
docs: Convenience utility for chaining together criteria into a where clause
  the database functions that can be used by the mysqlutils operations.
  @param {object} opts example:
  @example {
  omitNull: boolean whether to ignore an and()/or() if passed value is a null, defaults to true]
  omitEmpty: boolean whether to ignore an and()/or() if passed value is a empty (empty string), defaults to true]
  }
  @return {object} example:
  @example
  {
  where: 'WHERE foo=? AND bar=? AND baz=?',
  parms: ['abc', 123, 'def']
  }