Options
All
  • Public
  • Public/Protected
  • All
Menu

Module interfaces/options/exportingOptions/extendedExportingOptions

Index

Type aliases

ExportingFileName

ExportingFileName: string | ((db: string, collection: string, type: "json" | "csv") => string)

The function type that can be used as value of the "fileName" option.

param

The database of the collection that will be exported

param

The the collection that will be exported

param

The type of the collection that will be exported

returns

The file name of the exported collection

ExportingFilePath

ExportingFilePath: string | ((db: string, collection: string, type: "json" | "csv", outPath: string) => string)

The function type of that can be used as value of the "filePath" option.

param

The database of the collection that will be exported

param

The the collection that will be exported

param

The type of the collection that will be exported

param

The file path of the exported collection if this function was not specified

returns

The file path of the exported collection

Generated using TypeDoc