Browse Source

chore(nocodb): lint

pull/6447/head
wkw 1 year ago
parent
commit
d89fd75e74
  1. 7
      packages/nocodb/src/services/data-alias-nested.service.ts
  2. 7
      packages/nocodb/src/services/data-table.service.ts
  3. 7
      packages/nocodb/src/services/datas.service.ts

7
packages/nocodb/src/services/data-alias-nested.service.ts

@ -220,10 +220,13 @@ export class DataAliasNestedService {
param.query,
);
const count = await baseModel.hmListCount({
const count = await baseModel.hmListCount(
{
colId: column.id,
id: param.rowId,
}, param.query);
},
param.query,
);
return new PagedResponseImpl(data, {
count,

7
packages/nocodb/src/services/data-table.service.ts

@ -302,10 +302,13 @@ export class DataTableService {
},
listArgs as any,
);
count = (await baseModel.hmListCount({
count = (await baseModel.hmListCount(
{
colId: column.id,
id: param.rowId,
}, param.query)) as number;
},
param.query,
)) as number;
} else {
data = await baseModel.btRead(
{

7
packages/nocodb/src/services/datas.service.ts

@ -650,10 +650,13 @@ export class DatasService {
)
)?.[key];
const count = await baseModel.hmListCount({
const count = await baseModel.hmListCount(
{
colId: param.colId,
id: param.rowId,
}, param.query);
},
param.query,
);
return new PagedResponseImpl(data, {
totalRows: count,

Loading…
Cancel
Save