File

query-builder/src/query-builder.interface.ts

Description

The possible rules that can be used to compare the items.

Example :
{
 key: 'name',
 label: 'Name',
 type: 'string',
 operators: [
   {
     key: 'equal',
     label: 'Equal'
   }
 ]
}

Import

Example :
import { IQueryBuilderPossibleRule } from '@talenra/components/query-builder';

Index

Properties

Properties

key
key: string
Type : string

The identifier of the field that is used to compare the value with the items.

label
label: string
Type : string

The label is the translated value of the identifier.

operators
operators: IQueryBuilderOperator[]
Type : IQueryBuilderOperator[]
Optional

The value that is used to compare the items.

type
type: TQueryBuilderValueType
Type : TQueryBuilderValueType

The type of the value that is used to compare the items.

results matching ""

    No results matching ""