Browse Source

refactor(nocodb): add comment to customKnex.ts

pull/5642/head
Wing-Kam Wong 2 years ago
parent
commit
dc6d0800bf
  1. 3
      packages/nocodb/src/db/CustomKnex.ts

3
packages/nocodb/src/db/CustomKnex.ts

@ -6,6 +6,9 @@ import Filter from '../models/Filter';
import type { FilterType } from 'nocodb-sdk';
import type { BaseModelSql } from './BaseModelSql';
// For the code, check out
// https://raw.githubusercontent.com/brianc/node-pg-types/master/lib/builtins.js
// override parsing date column to Date()
types.setTypeParser(1082, (val) => val);
// override timestamp

Loading…
Cancel
Save