/** * This file is part of the NocoBase (R) project. * Copyright (c) 2020-2024 NocoBase Co., Ltd. * Authors: NocoBase Team. * * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License. * For more information, please refer to: https://www.nocobase.com/agreement. */ import { Collection } from '../collection'; import QueryInterface, { TableInfo } from './query-interface'; import { Transaction } from 'sequelize'; export default class SqliteQueryInterface extends QueryInterface { constructor(db: any); collectionTableExists(collection: Collection, options?: any): Promise; listViews(): Promise<[unknown[], unknown]>; viewColumnUsage(options: { viewName: string; schema?: string; }): Promise<{ [view_column_name: string]: { column_name: string; table_name: string; table_schema?: string; }; }>; parseSQL(sql: string): any; viewDef(viewName: string): Promise; showTableDefinition(tableInfo: TableInfo): Promise; getAutoIncrementInfo(options: { tableInfo: TableInfo; fieldName: string; transaction: Transaction; }): Promise<{ seqName?: string; currentVal: number; }>; setAutoIncrementVal(options: { tableInfo: TableInfo; columnName: string; seqName?: string; currentVal: number; transaction?: Transaction; }): Promise; generateJoinOnForJSONArray(left: string, right: string): import("sequelize/types/utils").Literal; }