|
|
@ -3,8 +3,8 @@ import { |
|
|
|
FormulaDataTypes, |
|
|
|
FormulaDataTypes, |
|
|
|
jsepCurlyHook, |
|
|
|
jsepCurlyHook, |
|
|
|
UITypes, |
|
|
|
UITypes, |
|
|
|
validateFormulaAndExtractTreeWithType, |
|
|
|
|
|
|
|
validateDateWithUnknownFormat, |
|
|
|
validateDateWithUnknownFormat, |
|
|
|
|
|
|
|
validateFormulaAndExtractTreeWithType, |
|
|
|
} from 'nocodb-sdk'; |
|
|
|
} from 'nocodb-sdk'; |
|
|
|
import { Logger } from '@nestjs/common'; |
|
|
|
import { Logger } from '@nestjs/common'; |
|
|
|
import mapFunctionName from '../mapFunctionName'; |
|
|
|
import mapFunctionName from '../mapFunctionName'; |
|
|
@ -17,10 +17,7 @@ import type Column from '~/models/Column'; |
|
|
|
import Model from '~/models/Model'; |
|
|
|
import Model from '~/models/Model'; |
|
|
|
import NocoCache from '~/cache/NocoCache'; |
|
|
|
import NocoCache from '~/cache/NocoCache'; |
|
|
|
import { CacheGetType, CacheScope } from '~/utils/globals'; |
|
|
|
import { CacheGetType, CacheScope } from '~/utils/globals'; |
|
|
|
import { |
|
|
|
import { convertDateFormatForConcat } from '~/helpers/formulaFnHelper'; |
|
|
|
convertDateFormatForConcat, |
|
|
|
|
|
|
|
validateDateWithUnknownFormat, |
|
|
|
|
|
|
|
} from '~/helpers/formulaFnHelper'; |
|
|
|
|
|
|
|
import FormulaColumn from '~/models/FormulaColumn'; |
|
|
|
import FormulaColumn from '~/models/FormulaColumn'; |
|
|
|
|
|
|
|
|
|
|
|
const logger = new Logger('FormulaQueryBuilderv2'); |
|
|
|
const logger = new Logger('FormulaQueryBuilderv2'); |
|
|
|