teableio/teable

View on GitHub
apps/nestjs-backend/src/db-provider/base-query/abstract.ts

Summary

Maintainability
A
0 mins
Test Coverage
import type { Knex } from 'knex';

export abstract class BaseQueryAbstract {
  constructor(protected readonly knex: Knex) {}

  abstract jsonSelect(
    queryBuilder: Knex.QueryBuilder,
    dbFieldName: string,
    alias: string
  ): Knex.QueryBuilder;
}