Browse Source

fix: remove extra closing brace

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5252/head
Pranav C 2 years ago
parent
commit
73d557d823
  1. 19
      packages/nocodb/src/lib/db/sql-data-mapper/lib/sql/conditionV2.ts

19
packages/nocodb/src/lib/db/sql-data-mapper/lib/sql/conditionV2.ts

@ -1,13 +1,13 @@
import Filter from '../../../../models/Filter';
import LinkToAnotherRecordColumn from '../../../../models/LinkToAnotherRecordColumn';
import { Knex } from 'knex';
import { XKnex } from '../../index';
import Column from '../../../../models/Column';
import LookupColumn from '../../../../models/LookupColumn';
import type LinkToAnotherRecordColumn from '../../../../models/LinkToAnotherRecordColumn';
import type { Knex } from 'knex';
import type { XKnex } from '../../index';
import type Column from '../../../../models/Column';
import type LookupColumn from '../../../../models/LookupColumn';
import genRollupSelectv2 from './genRollupSelectv2';
import RollupColumn from '../../../../models/RollupColumn';
import type RollupColumn from '../../../../models/RollupColumn';
import formulaQueryBuilderv2 from './formulav2/formulaQueryBuilderv2';
import FormulaColumn from '../../../../models/FormulaColumn';
import type FormulaColumn from '../../../../models/FormulaColumn';
import { isNumericCol, RelationTypes, UITypes } from 'nocodb-sdk';
import { sanitize } from './helpers/sanitize';
import dayjs, { extend } from 'dayjs';
@ -588,7 +588,6 @@ const parseConditionV2 = async (
}
}
break;
}
case 'ge':
case 'gte':
{
@ -602,7 +601,7 @@ const parseConditionV2 = async (
}
}
break;
}case 'lt':
case 'lt':
{
const lt_op = customWhereClause ? '>' : '<';
qb = qb.where(field, lt_op, val);
@ -614,7 +613,6 @@ const parseConditionV2 = async (
}
}
break;
}
case 'le':
case 'lte':
@ -629,7 +627,6 @@ const parseConditionV2 = async (
}
}
break;
}
case 'in':
qb = qb.whereIn(
field,

Loading…
Cancel
Save