π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
follow bulk delete payload
Fendy Heryanto88a3b92d0e0a
diff --git a/packages/nocodb/src/db/IBaseModelSqlV2.ts b/packages/nocodb/src/db/IBaseModelSqlV2.tsindex bfd49f68a0..f2c885b017 100644--- a/packages/nocodb/src/db/IBaseModelSqlV2.ts+++ b/packages/nocodb/src/db/IBaseModelSqlV2.ts@@ -17,7 +17,7 @@ import type {} from 'nocodb-sdk';import type { Knex } from 'knex';import type CustomKnex from '~/db/CustomKnex';-import type { Column, Model, Source, View } from '~/models';+import type { Column, Filter, Model, Sort, Source, View } from '~/models';export interface IBaseModelSqlV2 {context: NcContext;@@ -327,6 +327,30 @@ export interface IBaseModelSqlV2 {args?: any;}): Promise<any[]>;+ list(+ args?: {+ where?: string;+ limit?: any;+ offset?: any;+ filterArr?: Filter[];+ sortArr?: Sort[];+ sort?: string | string[];+ fieldsSet?: Set<string>;+ limitOverride?: number;+ pks?: string;+ customConditions?: Filter[];+ apiVersion?: NcApiVersion;+ },+ options?: {+ ignoreViewFilterAndSort?: boolean;+ ignorePagination?: boolean;+ validateFormula?: boolean;+ throwErrorIfInvalidParams?: boolean;+ limitOverride?: number;+ skipSubstitutingColumnIds?: boolean;+ },+ ): Promise<any>;+broadcastLinkUpdates(ids: Array<string>): Promise<void>;getSource(): Promise<Source>;