mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? feat: Add SwitchOperatorOptions to Select of Switch #1739 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -2635,3 +2635,20 @@ export const ExeSQLOptions = ['mysql', 'postgresql', 'mariadb'].map((x) => ({
|
||||
}));
|
||||
|
||||
export const SwitchElseTo = 'end_cpn_id';
|
||||
|
||||
export const SwitchOperatorOptions = [
|
||||
{ value: '=', label: 'equal' },
|
||||
{ value: '≠', label: 'notEqual' },
|
||||
{ value: '>', label: 'gt' },
|
||||
{ value: '≥', label: 'ge' },
|
||||
{ value: '<', label: 'lt' },
|
||||
{ value: '≤', label: 'le' },
|
||||
{ value: 'contains', label: 'contains' },
|
||||
{ value: 'not contains', label: 'notContains' },
|
||||
{ value: 'start with', label: 'startWith' },
|
||||
{ value: 'end with', label: 'endWith' },
|
||||
{ value: 'empty', label: 'empty' },
|
||||
{ value: 'not empty', label: 'notEmpty' },
|
||||
];
|
||||
|
||||
export const SwitchLogicOperatorOptions = ['and', 'or'];
|
||||
|
||||
Reference in New Issue
Block a user