Browse Source

refactor(nocodb): remove unused functions

pull/5601/head
Wing-Kam Wong 2 years ago
parent
commit
f3c7f95c70
  1. 12
      packages/nocodb-nest/src/meta/meta.service.ts

12
packages/nocodb-nest/src/meta/meta.service.ts

@ -1042,22 +1042,10 @@ export class MetaService {
);
}
private isSqlite() {
return this.connection.clientType() === 'sqlite3';
}
private isMssql() {
return this.connection.clientType() === 'mssql';
}
private isPg() {
return this.connection.clientType() === 'pg';
}
private isSnowflake() {
return this.connection.clientType() === 'snowflake';
}
private now(): any {
if (this.isMySQL()) {
return dayjs().utc().format('YYYY-MM-DD HH:mm:ss');

Loading…
Cancel
Save