|
|
|
@ -2,10 +2,15 @@ import { Knex, knex } from 'knex';
|
|
|
|
|
import { SnowflakeClient } from 'nc-help'; |
|
|
|
|
import pg, { types } from 'pg'; |
|
|
|
|
import dayjs from 'dayjs'; |
|
|
|
|
import utc from 'dayjs/plugin/utc'; |
|
|
|
|
import timezone from 'dayjs/plugin/timezone'; |
|
|
|
|
import Filter from '../models/Filter'; |
|
|
|
|
import type { FilterType } from 'nocodb-sdk'; |
|
|
|
|
import type { BaseModelSql } from './BaseModelSql'; |
|
|
|
|
|
|
|
|
|
dayjs.extend(utc); |
|
|
|
|
dayjs.extend(timezone); |
|
|
|
|
|
|
|
|
|
pg.defaults.parseInputDatesAsUTC = true; |
|
|
|
|
|
|
|
|
|
// override parsing date column to Date()
|
|
|
|
|