@decaf-ts/core
Version:
Core persistence module for the decaf framework
41 lines (40 loc) • 1.24 kB
TypeScript
/**
* @description Comparison operators for query conditions
* @summary Enum defining the available operators for comparing values in database queries
* @enum {string}
* @readonly
* @memberOf module:core
*/
export declare enum Operator {
/** Equal comparison (=) */
EQUAL = "EQUAL",
/** Not equal comparison (!=) */
DIFFERENT = "DIFFERENT",
/** Greater than comparison (>) */
BIGGER = "BIGGER",
/** Greater than or equal comparison (>=) */
BIGGER_EQ = "BIGGER_EQ",
/** Less than comparison (<) */
SMALLER = "SMALLER",
/** Less than or equal comparison (<=) */
SMALLER_EQ = "SMALLER_EQ",
/** Negation operator (NOT) */
NOT = "NOT",
/** Inclusion operator (IN) */
IN = "IN",
/** Regular expression matching */
REGEXP = "REGEXP"
}
/**
* @description Logical operators for combining query conditions
* @summary Enum defining the available operators for grouping multiple conditions in database queries
* @enum {string}
* @readonly
* @memberOf module:core
*/
export declare enum GroupOperator {
/** Logical AND operator - all conditions must be true */
AND = "AND",
/** Logical OR operator - at least one condition must be true */
OR = "OR"
}