lib/query-builder.js
function property() {
  var args = mlutil.asArray.apply(null, arguments);
  switch(args.length) {
  case 0:
    throw new Error('missing JSON property name');
  case 1:
    return new JSONPropertyDef(args[0]);
  default:
    throw new Error('too many arguments for JSON property identifier: '+args.length);
 }
}
function property() {
  var args = mlutil.asArray.apply(null, arguments);
  switch(args.length) {
  case 0:
    throw new Error('missing JSON property name');
  case 1:
    return new JSONPropertyDef(args[0]);
  default:
    throw new Error('too many arguments for JSON property identifier: '+args.length);
 }
}
function property ( ) { var args = mlutil . asArray . apply ( null , arguments ) ; switch ( args . length ) { case 0 : throw new Error ( 'missing JSON property name' ) ; case 1 : return new JSONPropertyDef ( args [ 0 ] ) ; default : throw new Error ( 'too many arguments for JSON property identifier: ' + args . length ) ; } }
Specifies a JSON property for a query.  As a shortcut, a JSON property
can also be specified with a string instead of calling this function.
@method
@since 1.0
@memberof queryBuilder#
@param {string} name - the name of the property
@returns {queryBuilder.IndexedName} an indexed name for specifying a query
Specifies a JSON property for a query . As a shortcut a JSON property can also be specified with a string instead of calling this function .