Scandit.Db

Classes

BaseModel

Type Definitions

Query

Database query object.

Type:
  • object
Properties:
Name Type Description
FIELD_NAME string

the name of the object field to be queried

Properties
Name Type Description
QUERY_OPERATOR string
  • possible values for the operator: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin
  • the value is the value to be queried
Example
  • JavaScript
{
  name: {
    $text: '20mm', // will return objects where the name field includes the substring "20mm"
    ...
  },
  ...
}