diff --git a/packages/nocodb/src/lib/meta/api/dataApis/dataAliasApis.ts b/packages/nocodb/src/lib/meta/api/dataApis/dataAliasApis.ts index bfd7702b82..1edc8f2266 100644 --- a/packages/nocodb/src/lib/meta/api/dataApis/dataAliasApis.ts +++ b/packages/nocodb/src/lib/meta/api/dataApis/dataAliasApis.ts @@ -13,7 +13,6 @@ import getAst from '../../../db/sql-data-mapper/lib/sql/helpers/getAst'; // todo: Handle the error case where view doesnt belong to model async function dataList(req: Request, res: Response) { - // BOOKMARK const { model, view } = await getViewAndModelFromRequestByAliasOrId(req); res.json(await getDataList(model, view, req)); } @@ -129,7 +128,6 @@ async function getDataList(model, view: View, req) { // e.g. search some text in a numeric field } - // BOOKMARK return new PagedResponseImpl(data, { ...req.query, count, diff --git a/packages/nocodb/src/lib/meta/api/dataApis/dataApis.ts b/packages/nocodb/src/lib/meta/api/dataApis/dataApis.ts index 80515a932a..a896ae2a99 100644 --- a/packages/nocodb/src/lib/meta/api/dataApis/dataApis.ts +++ b/packages/nocodb/src/lib/meta/api/dataApis/dataApis.ts @@ -11,7 +11,6 @@ import apiMetrics from '../../helpers/apiMetrics'; import getAst from '../../../db/sql-data-mapper/lib/sql/helpers/getAst'; export async function dataList(req: Request, res: Response, next) { - // BOOKMARK const view = await View.get(req.params.viewId); const model = await Model.getByIdOrName({ diff --git a/packages/nocodb/src/lib/meta/api/publicApis/publicDataApis.ts b/packages/nocodb/src/lib/meta/api/publicApis/publicDataApis.ts index 1f8fb76c40..a40ff85331 100644 --- a/packages/nocodb/src/lib/meta/api/publicApis/publicDataApis.ts +++ b/packages/nocodb/src/lib/meta/api/publicApis/publicDataApis.ts @@ -70,7 +70,6 @@ export async function dataList(req: Request, res: Response) { {}, listArgs ); - // BOOKMARK count = await baseModel.count(listArgs); } catch (e) { // show empty result instead of throwing error here diff --git a/packages/nocodb/src/lib/models/Column.ts b/packages/nocodb/src/lib/models/Column.ts index e3bfd65fc8..e9e07b75a9 100644 --- a/packages/nocodb/src/lib/models/Column.ts +++ b/packages/nocodb/src/lib/models/Column.ts @@ -221,7 +221,6 @@ export default class Column implements ColumnType { break; } case UITypes.QrCode: { - // BOOKMARK await QrCodeColumn.insert( { fk_column_id: colId, @@ -523,7 +522,6 @@ export default class Column implements ColumnType { return columns.map(c => new Column(c));*/ } - // BOOKMARK public static async get( { base_id, diff --git a/packages/nocodb/src/lib/models/QrCodeColumn.ts b/packages/nocodb/src/lib/models/QrCodeColumn.ts index 64bc1d49dc..0dc39f8d2d 100644 --- a/packages/nocodb/src/lib/models/QrCodeColumn.ts +++ b/packages/nocodb/src/lib/models/QrCodeColumn.ts @@ -15,7 +15,6 @@ export default class QrCodeColumn { data: Partial, ncMeta = Noco.ncMeta ) { - // BOOKMARK await ncMeta.metaInsert2(null, null, MetaTable.COL_QRCODE, { fk_column_id: data.fk_column_id, fk_qr_value_column_id: data.fk_qr_value_column_id,