lib/query-builder.js
function checkQueryArray(queryArray) {
  if (queryArray == null) {
    return queryArray;
  }

  var max = queryArray.length;
  if (max === 0) {
    return queryArray;
  }

  var i = 0;
  for (; i < max; i++) {
    checkQuery(queryArray[i]);
  }

  return queryArray;
}
function checkQueryArray(queryArray) {
  if (queryArray == null) {
    return queryArray;
  }

  var max = queryArray.length;
  if (max === 0) {
    return queryArray;
  }

  var i = 0;
  for (; i < max; i++) {
    checkQuery(queryArray[i]);
  }

  return queryArray;
}
function checkQueryArray ( queryArray ) { if ( queryArray == null ) { return queryArray ; } var max = queryArray . length ; if ( max === 0 ) { return queryArray ; } var i = 0 ; for ( ; i < max ; i ++ ) { checkQuery ( queryArray [ i ] ) ; } return queryArray ; }
A composable query.
@typedef {object} queryBuilder.Query
@since 1.0
 
An indexed name such as a JSON property, {@link queryBuilder#element} or
{@link queryBuilder#attribute}, {@link queryBuilder#field},
or {@link queryBuilder#pathIndex}.
@typedef {object} queryBuilder.IndexedName
@since 1.0
 
An indexed name such as a JSON property, XML element, or path that
represents a geospatial location for matched by a geospatial query.
@typedef {object} queryBuilder.GeoLocation
@since 1.0
 
The specification of a point or an area (such as a box, circle, or polygon)
for use as criteria in a geospatial query.
@typedef {object} queryBuilder.Region
@since 1.0
 
The specification of the latitude and longitude
returned by the {@link queryBuilder#latlon} function
for a coordinate of a {@link queryBuilder.Region}.
@typedef {object} queryBuilder.LatLon
@since 1.0
 
The specification of the coordinate system
returned by the {@link queryBuilder#coordSystem} function
for a geospatial path index
@typedef {object} queryBuilder.CoordSystem
@since 1.0
 @ignore
A composable query .