Forest Admin - API reference
Preparing search index...
@forestadmin/datasource-toolkit
ConditionTreeEquivalent
Class ConditionTreeEquivalent
Index
Constructors
constructor
Methods
get
Equivalent
Tree
has
Equivalent
Tree
Constructors
constructor
new
ConditionTreeEquivalent
()
:
ConditionTreeEquivalent
Returns
ConditionTreeEquivalent
Methods
Static
get
Equivalent
Tree
getEquivalentTree
(
leaf
:
ConditionTreeLeaf
,
operators
:
Set
<
|
"Equal"
|
"NotEqual"
|
"LessThan"
|
"GreaterThan"
|
"LessThanOrEqual"
|
"GreaterThanOrEqual"
|
"Match"
|
"NotContains"
|
"NotIContains"
|
"LongerThan"
|
"ShorterThan"
|
"IncludesAll"
|
"IncludesNone"
|
"Today"
|
"Yesterday"
|
"PreviousMonth"
|
"PreviousQuarter"
|
"PreviousWeek"
|
"PreviousYear"
|
"PreviousMonthToDate"
|
"PreviousQuarterToDate"
|
"PreviousWeekToDate"
|
"PreviousXDaysToDate"
|
"PreviousXDays"
|
"PreviousYearToDate"
|
"Present"
|
"Blank"
|
"Missing"
|
"In"
|
"NotIn"
|
"StartsWith"
|
"EndsWith"
|
"Contains"
|
"IStartsWith"
|
"IEndsWith"
|
"IContains"
|
"Like"
|
"ILike"
|
"Before"
|
"After"
|
"AfterXHoursAgo"
|
"BeforeXHoursAgo"
|
"Future"
|
"Past"
,
>
,
columnType
:
ColumnType
,
timezone
:
string
,
)
:
ConditionTree
Parameters
leaf
:
ConditionTreeLeaf
operators
:
Set
<
|
"Equal"
|
"NotEqual"
|
"LessThan"
|
"GreaterThan"
|
"LessThanOrEqual"
|
"GreaterThanOrEqual"
|
"Match"
|
"NotContains"
|
"NotIContains"
|
"LongerThan"
|
"ShorterThan"
|
"IncludesAll"
|
"IncludesNone"
|
"Today"
|
"Yesterday"
|
"PreviousMonth"
|
"PreviousQuarter"
|
"PreviousWeek"
|
"PreviousYear"
|
"PreviousMonthToDate"
|
"PreviousQuarterToDate"
|
"PreviousWeekToDate"
|
"PreviousXDaysToDate"
|
"PreviousXDays"
|
"PreviousYearToDate"
|
"Present"
|
"Blank"
|
"Missing"
|
"In"
|
"NotIn"
|
"StartsWith"
|
"EndsWith"
|
"Contains"
|
"IStartsWith"
|
"IEndsWith"
|
"IContains"
|
"Like"
|
"ILike"
|
"Before"
|
"After"
|
"AfterXHoursAgo"
|
"BeforeXHoursAgo"
|
"Future"
|
"Past"
,
>
columnType
:
ColumnType
timezone
:
string
Returns
ConditionTree
Static
has
Equivalent
Tree
hasEquivalentTree
(
operator
:
|
"Equal"
|
"NotEqual"
|
"LessThan"
|
"GreaterThan"
|
"LessThanOrEqual"
|
"GreaterThanOrEqual"
|
"Match"
|
"NotContains"
|
"NotIContains"
|
"LongerThan"
|
"ShorterThan"
|
"IncludesAll"
|
"IncludesNone"
|
"Today"
|
"Yesterday"
|
"PreviousMonth"
|
"PreviousQuarter"
|
"PreviousWeek"
|
"PreviousYear"
|
"PreviousMonthToDate"
|
"PreviousQuarterToDate"
|
"PreviousWeekToDate"
|
"PreviousXDaysToDate"
|
"PreviousXDays"
|
"PreviousYearToDate"
|
"Present"
|
"Blank"
|
"Missing"
|
"In"
|
"NotIn"
|
"StartsWith"
|
"EndsWith"
|
"Contains"
|
"IStartsWith"
|
"IEndsWith"
|
"IContains"
|
"Like"
|
"ILike"
|
"Before"
|
"After"
|
"AfterXHoursAgo"
|
"BeforeXHoursAgo"
|
"Future"
|
"Past"
,
operators
:
Set
<
|
"Equal"
|
"NotEqual"
|
"LessThan"
|
"GreaterThan"
|
"LessThanOrEqual"
|
"GreaterThanOrEqual"
|
"Match"
|
"NotContains"
|
"NotIContains"
|
"LongerThan"
|
"ShorterThan"
|
"IncludesAll"
|
"IncludesNone"
|
"Today"
|
"Yesterday"
|
"PreviousMonth"
|
"PreviousQuarter"
|
"PreviousWeek"
|
"PreviousYear"
|
"PreviousMonthToDate"
|
"PreviousQuarterToDate"
|
"PreviousWeekToDate"
|
"PreviousXDaysToDate"
|
"PreviousXDays"
|
"PreviousYearToDate"
|
"Present"
|
"Blank"
|
"Missing"
|
"In"
|
"NotIn"
|
"StartsWith"
|
"EndsWith"
|
"Contains"
|
"IStartsWith"
|
"IEndsWith"
|
"IContains"
|
"Like"
|
"ILike"
|
"Before"
|
"After"
|
"AfterXHoursAgo"
|
"BeforeXHoursAgo"
|
"Future"
|
"Past"
,
>
,
columnType
:
ColumnType
,
)
:
boolean
Parameters
operator
:
|
"Equal"
|
"NotEqual"
|
"LessThan"
|
"GreaterThan"
|
"LessThanOrEqual"
|
"GreaterThanOrEqual"
|
"Match"
|
"NotContains"
|
"NotIContains"
|
"LongerThan"
|
"ShorterThan"
|
"IncludesAll"
|
"IncludesNone"
|
"Today"
|
"Yesterday"
|
"PreviousMonth"
|
"PreviousQuarter"
|
"PreviousWeek"
|
"PreviousYear"
|
"PreviousMonthToDate"
|
"PreviousQuarterToDate"
|
"PreviousWeekToDate"
|
"PreviousXDaysToDate"
|
"PreviousXDays"
|
"PreviousYearToDate"
|
"Present"
|
"Blank"
|
"Missing"
|
"In"
|
"NotIn"
|
"StartsWith"
|
"EndsWith"
|
"Contains"
|
"IStartsWith"
|
"IEndsWith"
|
"IContains"
|
"Like"
|
"ILike"
|
"Before"
|
"After"
|
"AfterXHoursAgo"
|
"BeforeXHoursAgo"
|
"Future"
|
"Past"
operators
:
Set
<
|
"Equal"
|
"NotEqual"
|
"LessThan"
|
"GreaterThan"
|
"LessThanOrEqual"
|
"GreaterThanOrEqual"
|
"Match"
|
"NotContains"
|
"NotIContains"
|
"LongerThan"
|
"ShorterThan"
|
"IncludesAll"
|
"IncludesNone"
|
"Today"
|
"Yesterday"
|
"PreviousMonth"
|
"PreviousQuarter"
|
"PreviousWeek"
|
"PreviousYear"
|
"PreviousMonthToDate"
|
"PreviousQuarterToDate"
|
"PreviousWeekToDate"
|
"PreviousXDaysToDate"
|
"PreviousXDays"
|
"PreviousYearToDate"
|
"Present"
|
"Blank"
|
"Missing"
|
"In"
|
"NotIn"
|
"StartsWith"
|
"EndsWith"
|
"Contains"
|
"IStartsWith"
|
"IEndsWith"
|
"IContains"
|
"Like"
|
"ILike"
|
"Before"
|
"After"
|
"AfterXHoursAgo"
|
"BeforeXHoursAgo"
|
"Future"
|
"Past"
,
>
columnType
:
ColumnType
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get
Equivalent
Tree
has
Equivalent
Tree
Forest Admin - API reference
Loading...