mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-17 22:36:01 +00:00
removed obsolete code
This commit is contained in:
@@ -51,97 +51,3 @@ export const EvalFilterType: StructuredFilterType = {
|
||||
supportNumberLikeComparison: true,
|
||||
supportNullTesting: true,
|
||||
};
|
||||
|
||||
// export const NumberFilterType: StructuredFilterType = {
|
||||
// compilerType: 'sqlTree',
|
||||
// allowedOperators: [
|
||||
// { value: '=', label: 'equals' },
|
||||
// { value: '<>', label: 'does not equal' },
|
||||
// { value: '<', label: 'is smaller' },
|
||||
// { value: '>', label: 'is greater' },
|
||||
// { value: '<=', label: 'is smaller or equal' },
|
||||
// { value: '>=', label: 'is greater or equal' },
|
||||
// { value: 'NULL', label: 'is NULL' },
|
||||
// { value: 'NOT NULL', label: 'is not NULL' },
|
||||
// { value: 'sql', label: 'SQL condition' },
|
||||
// { value: 'sqlRight', label: 'SQL condition - right side only' },
|
||||
// ],
|
||||
// };
|
||||
|
||||
// export const StringFilterType: StructuredFilterType = {
|
||||
// compilerType: 'sqlTree',
|
||||
// allowedOperators: [
|
||||
// { value: '+', label: 'contains' },
|
||||
// { value: '~', label: 'does not contain' },
|
||||
// { value: '^', label: 'begins with' },
|
||||
// { value: '!^', label: 'does not begin with' },
|
||||
// { value: '$', label: 'ends with' },
|
||||
// { value: '!$', label: 'does not end with' },
|
||||
// { value: '=', label: 'equals' },
|
||||
// { value: '<>', label: 'does not equal' },
|
||||
// { value: '<', label: 'is smaller' },
|
||||
// { value: '>', label: 'is greater' },
|
||||
// { value: '<=', label: 'is smaller or equal' },
|
||||
// { value: '>=', label: 'is greater or equal' },
|
||||
// { value: 'NULL', label: 'is NULL' },
|
||||
// { value: 'NOT NULL', label: 'is not NULL' },
|
||||
// { value: 'sql', label: 'SQL condition' },
|
||||
// { value: 'sqlRight', label: 'SQL condition - right side only' },
|
||||
// ],
|
||||
// };
|
||||
|
||||
// export const DatetimeFilterType: StructuredFilterType = {
|
||||
// compilerType: 'sqlTree',
|
||||
// allowedOperators: [
|
||||
// { value: '=', label: 'equals' },
|
||||
// { value: '<>', label: 'does not equal' },
|
||||
// { value: '<', label: 'is before' },
|
||||
// { value: '>', label: 'is after' },
|
||||
// { value: '<=', label: 'is before or equal' },
|
||||
// { value: '>=', label: 'is after or equal' },
|
||||
// { value: 'NULL', label: 'is NULL' },
|
||||
// { value: 'NOT NULL', label: 'is not NULL' },
|
||||
// { value: 'sql', label: 'SQL condition' },
|
||||
// { value: 'sqlRight', label: 'SQL condition - right side only' },
|
||||
// ],
|
||||
// };
|
||||
|
||||
// export const MongoFilterType: StructuredFilterType = {
|
||||
// compilerType: 'mongoCondition',
|
||||
// allowedOperators: [
|
||||
// { value: '=', label: 'equals' },
|
||||
// { value: '<>', label: 'does not equal' },
|
||||
// { value: '<', label: 'is smaller' },
|
||||
// { value: '>', label: 'is greater' },
|
||||
// { value: '<=', label: 'is smaller or equal' },
|
||||
// { value: '>=', label: 'is greater or equal' },
|
||||
// { value: '+', label: 'contains' },
|
||||
// { value: '~', label: 'does not contain' },
|
||||
// { value: '^', label: 'begins with' },
|
||||
// { value: '!^', label: 'does not begin with' },
|
||||
// { value: '$', label: 'ends with' },
|
||||
// { value: '!$', label: 'does not end with' },
|
||||
// { value: 'EXISTS', label: 'field exists' },
|
||||
// { value: 'NOT EXISTS', label: 'field does not exist' },
|
||||
// ],
|
||||
// };
|
||||
|
||||
// export const EvalFilterType: StructuredFilterType = {
|
||||
// compilerType: 'sqlTree',
|
||||
// allowedOperators: [
|
||||
// { value: '=', label: 'equals' },
|
||||
// { value: '<>', label: 'does not equal' },
|
||||
// { value: '<', label: 'is smaller' },
|
||||
// { value: '>', label: 'is greater' },
|
||||
// { value: '<=', label: 'is smaller or equal' },
|
||||
// { value: '>=', label: 'is greater or equal' },
|
||||
// { value: '+', label: 'contains' },
|
||||
// { value: '~', label: 'does not contain' },
|
||||
// { value: '^', label: 'begins with' },
|
||||
// { value: '!^', label: 'does not begin with' },
|
||||
// { value: '$', label: 'ends with' },
|
||||
// { value: '!$', label: 'does not end with' },
|
||||
// { value: 'NULL', label: 'is NULL' },
|
||||
// { value: 'NOT NULL', label: 'is not NULL' },
|
||||
// ],
|
||||
// };
|
||||
|
||||
Reference in New Issue
Block a user