Browse Source

chore(nocodb): lint

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/4999/head
Pranav C 2 years ago
parent
commit
dc46b9afae
  1. 4
      packages/nocodb/src/lib/db/sql-data-mapper/lib/sql/CustomKnex.ts

4
packages/nocodb/src/lib/db/sql-data-mapper/lib/sql/CustomKnex.ts

@ -548,7 +548,9 @@ knex.QueryBuilder.extend(
knex.QueryBuilder.extend('concat', function (cn: any) {
switch (this?.client?.config?.client) {
case 'pg':
this.select(this.client.raw(`STRING_AGG(??::character varying , ',')`, [cn]));
this.select(
this.client.raw(`STRING_AGG(??::character varying , ',')`, [cn])
);
break;
case 'mysql':
case 'mysql2':

Loading…
Cancel
Save