mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-23 23:05:59 +00:00
mongo update script preview
This commit is contained in:
4
packages/types/engines.d.ts
vendored
4
packages/types/engines.d.ts
vendored
@@ -27,11 +27,12 @@ export interface EngineAuthType {
|
||||
export interface ReadCollectionOptions {
|
||||
pureName: string;
|
||||
schemaName?: string;
|
||||
|
||||
|
||||
countDocuments?: boolean;
|
||||
skip?: number;
|
||||
limit?: number;
|
||||
}
|
||||
|
||||
export interface EngineDriver {
|
||||
engine: string;
|
||||
title: string;
|
||||
@@ -62,6 +63,7 @@ export interface EngineDriver {
|
||||
getAuthTypes(): EngineAuthType[];
|
||||
readCollection(pool: any, options: ReadCollectionOptions): Promise<any>;
|
||||
updateCollection(pool: any, changeSet: any): Promise<any>;
|
||||
getCollectionUpdateScript(changeSet: any): string;
|
||||
|
||||
analyserClass?: any;
|
||||
dumperClass?: any;
|
||||
|
||||
Reference in New Issue
Block a user