diff --git a/docs/Next/classes/AbstractCursor.html b/docs/Next/classes/AbstractCursor.html index b8bcacd971d..9b784a14547 100644 --- a/docs/Next/classes/AbstractCursor.html +++ b/docs/Next/classes/AbstractCursor.html @@ -1,4 +1,4 @@ -
Generated using TypeDoc
Sets or gets the default captureRejection value for all emitters.
This symbol shall be used to install a listener for only monitoring 'error'
@@ -12,36 +12,36 @@
Installing a listener using this symbol does not change the behavior once an
'error'
event is emitted, therefore the process will still crash if no
regular 'error'
listener is installed.
Add a cursor flag to the cursor
The flag to set, must be one of following ['tailable', 'oplogReplay', 'noCursorTimeout', 'awaitData', 'partial' -.
The flag boolean value.
-Set the batch size for the cursor.
The number of documents to return per batch. See find command documentation.
-Returns current buffered documents length
-Returns a new uninitialized copy of this cursor, with options matching those that have been set on the current instance
-Execute the explain for the cursor
-Iterates over all the documents for this cursor using the iterator, callback pattern.
The iteration callback.
-Add a group stage to the aggregation pipeline
-Add a limit stage to the aggregation pipeline
-Add a lookup stage to the aggregation pipeline
-Map all documents using the provided function If there is a transform set on the cursor, that will be called first and the result passed to this function's transform.
@@ -49,17 +49,17 @@ it does not return a new instance of a cursor. This means when calling map, you should always assign the result to a new variable in order to get a correctly typed cursor variable. Take note of the following example: -Add a match stage to the aggregation pipeline
-Set a maxTimeMS on the cursor query, allowing for hard timeout limits on queries (Only supported on MongoDB 2.6 or higher)
Number of milliseconds to wait before aborting the query.
-Add an out stage to the aggregation pipeline
-Add a project stage to the aggregation pipeline
Returns current buffered documents
-Add a redact stage to the aggregation pipeline
-Rewind this cursor to its uninitialized state. Any options that are present on the cursor will remain in effect. Iterating this cursor will cause new queries to be sent to the server, even if the resultant data has already been retrieved by this cursor.
-Add a skip stage to the aggregation pipeline
-Add a sort stage to the aggregation pipeline
-Returns an array of documents. The caller is responsible for making sure that there is enough memory to store the results. Note that the array only contains partial results when this cursor had been previously accessed. In that case, cursor.rewind() can be used to reset the cursor.
-Try to get the next available document from the cursor or null
if an empty batch is returned
Add a unwind stage to the aggregation pipeline
-Set the ReadPreference for the cursor.
-Set the ReadPreference for the cursor.
The new read preference for the cursor.
diff --git a/docs/Next/classes/Batch.html b/docs/Next/classes/Batch.html index a9f0d5784a8..8abaa37ecde 100644 --- a/docs/Next/classes/Batch.html +++ b/docs/Next/classes/Batch.html @@ -1,4 +1,4 @@Keeps the state of a unordered batch so we can rewrite the results correctly after command execution
-Generated using TypeDoc
Generated using TypeDoc
- Preparing search index...
- The search index is not available
mongodbClass AbstractCursor<TSchema, CursorEvents>
Type parameters
TSchema = any
CursorEvents: AbstractCursorEvents = AbstractCursorEvents
Hierarchy
Index
Events
Properties
Accessors
Methods
Events
Static Readonly CLOSE
Properties
Static Readonly capture Rejection Symbol
Static capture Rejections
Sets or gets the default captureRejection value for all emitters.
Static default Max Listeners
Static Readonly error Monitor
This symbol shall be used to install a listener for only monitoring
'error'
@@ -7,27 +7,27 @@Installing a listener using this symbol does not change the behavior once an
-'error'
event is emitted, therefore the process will still crash if no regular'error'
listener is installed.Accessors
closed
Returns boolean
id
Returns undefined | Long
killed
Returns boolean
load Balanced
Returns boolean
namespace
Returns MongoDBNamespace
read Concern
Returns undefined | ReadConcern
read Preference
Returns ReadPreference
Methods
[async Iterator]
Returns AsyncIterator<TSchema, void, undefined>
add Cursor Flag
Accessors
closed
Returns boolean
id
Returns undefined | Long
killed
Returns boolean
load Balanced
Returns boolean
namespace
Returns MongoDBNamespace
read Concern
Returns undefined | ReadConcern
read Preference
Returns ReadPreference
Methods
[async Iterator]
Returns AsyncIterator<TSchema, void, undefined>
add Cursor Flag
Add a cursor flag to the cursor
Parameters
flag: "tailable" | "awaitData" | "noCursorTimeout" | "oplogReplay" | "exhaust" | "partial"
The flag to set, must be one of following ['tailable', 'oplogReplay', 'noCursorTimeout', 'awaitData', 'partial' -.
value: boolean
The flag boolean value.
-Returns AbstractCursor<TSchema, CursorEvents>
add Listener
Type parameters
EventKey: string | number | symbol
Parameters
event: EventKey
listener: CursorEvents[EventKey]
Returns AbstractCursor<TSchema, CursorEvents>
Parameters
event: CommonEvents
listener: (eventName: string | symbol, listener: GenericListener) => void
Parameters
eventName: string | symbol
listener: GenericListener
Returns void
Returns AbstractCursor<TSchema, CursorEvents>
Parameters
event: string | symbol
listener: GenericListener
Returns AbstractCursor<TSchema, CursorEvents>
batch Size
Returns AbstractCursor<TSchema, CursorEvents>
add Listener
Type parameters
EventKey: string | number | symbol
Parameters
event: EventKey
listener: CursorEvents[EventKey]
Returns AbstractCursor<TSchema, CursorEvents>
Parameters
event: CommonEvents
listener: (eventName: string | symbol, listener: GenericListener) => void
Parameters
eventName: string | symbol
listener: GenericListener
Returns void
Returns AbstractCursor<TSchema, CursorEvents>
Parameters
event: string | symbol
listener: GenericListener
Returns AbstractCursor<TSchema, CursorEvents>
batch Size
Set the batch size for the cursor.
Parameters
value: number
The number of documents to return per batch. See find command documentation.
-Returns AbstractCursor<TSchema, CursorEvents>
buffered Count
Returns AbstractCursor<TSchema, CursorEvents>
buffered Count
Returns current buffered documents length
-Returns number
Abstract clone
Returns number
Abstract clone
Returns a new uninitialized copy of this cursor, with options matching those that have been set on the current instance
-Returns AbstractCursor<TSchema, AbstractCursorEvents>
close
Returns void
Parameters
callback: Callback<any>
Returns void
options argument is deprecated
-Parameters
options: CursorCloseOptions
Returns Promise<void>
options argument is deprecated
-Parameters
options: CursorCloseOptions
callback: Callback<any>
Returns void
emit
Type parameters
EventKey: string | number | symbol
Parameters
event: symbol | EventKey
Rest ...args: Parameters<CursorEvents[EventKey]>
Returns boolean
event Names
Returns string[]
for Each
Returns AbstractCursor<TSchema, AbstractCursorEvents>
close
Returns void
Parameters
callback: Callback<any>
Returns void
options argument is deprecated
+Parameters
options: CursorCloseOptions
Returns Promise<void>
options argument is deprecated
+Parameters
options: CursorCloseOptions
callback: Callback<any>
Returns void
emit
Type parameters
EventKey: string | number | symbol
Parameters
event: symbol | EventKey
Rest ...args: Parameters<CursorEvents[EventKey]>
Returns boolean
event Names
Returns string[]
for Each
Iterates over all the documents for this cursor using the iterator, callback pattern.
Parameters
iterator: (doc: TSchema) => boolean | void
The iteration callback.
-Parameters
doc: TSchema
Returns boolean | void
Returns Promise<void>
Parameters
iterator: (doc: TSchema) => boolean | void
Parameters
doc: TSchema
Returns boolean | void
callback: Callback<void>
Returns void
get Max Listeners
Returns number
has Next
Returns Promise<boolean>
Parameters
callback: Callback<boolean>
Returns void
listener Count
Type parameters
EventKey: string | number | symbol
Parameters
type: string | symbol | EventKey
Returns number
listeners
Type parameters
EventKey: string | number | symbol
Parameters
event: string | symbol | EventKey
Returns CursorEvents[EventKey][]
map
Parameters
doc: TSchema
Returns boolean | void
Returns Promise<void>
Parameters
iterator: (doc: TSchema) => boolean | void
Parameters
doc: TSchema
Returns boolean | void
callback: Callback<void>
Returns void
get Max Listeners
Returns number
has Next
Returns Promise<boolean>
Parameters
callback: Callback<boolean>
Returns void
listener Count
Type parameters
EventKey: string | number | symbol
Parameters
type: string | symbol | EventKey
Returns number
listeners
Type parameters
EventKey: string | number | symbol
Parameters
event: string | symbol | EventKey
Returns CursorEvents[EventKey][]
map
Map all documents using the provided function If there is a transform set on the cursor, that will be called first and the result passed to this function's transform.
@@ -39,28 +39,28 @@Type parameters
T = any
Parameters
transform: (doc: TSchema) => T
The mapping transformation method.
-Parameters
doc: TSchema
Returns T
Returns AbstractCursor<T, AbstractCursorEvents>
max TimeMS
Parameters
doc: TSchema
Returns T
Returns AbstractCursor<T, AbstractCursorEvents>
max TimeMS
Set a maxTimeMS on the cursor query, allowing for hard timeout limits on queries (Only supported on MongoDB 2.6 or higher)
Parameters
value: number
Number of milliseconds to wait before aborting the query.
-Returns AbstractCursor<TSchema, CursorEvents>
next
Returns AbstractCursor<TSchema, CursorEvents>
next
Get the next available document from the cursor, returns null if no more documents are available.
-Returns Promise<null | TSchema>
Parameters
callback: Callback<null | TSchema>
Returns void
Parameters
Optional callback: Callback<null | TSchema>
Returns void | Promise<null | TSchema>
off
Type parameters
EventKey: string | number | symbol
Parameters
event: EventKey
listener: CursorEvents[EventKey]
Returns AbstractCursor<TSchema, CursorEvents>
Parameters
event: CommonEvents
listener: (eventName: string | symbol, listener: GenericListener) => void
Parameters
eventName: string | symbol
listener: GenericListener
Returns void
Returns AbstractCursor<TSchema, CursorEvents>
Parameters
event: string | symbol
listener: GenericListener
Returns AbstractCursor<TSchema, CursorEvents>
on
Type parameters
EventKey: string | number | symbol
Parameters
event: EventKey
listener: CursorEvents[EventKey]
Returns AbstractCursor<TSchema, CursorEvents>
Parameters
event: CommonEvents
listener: (eventName: string | symbol, listener: GenericListener) => void
Parameters
eventName: string | symbol
listener: GenericListener
Returns void
Returns AbstractCursor<TSchema, CursorEvents>
Parameters
event: string | symbol
listener: GenericListener
Returns AbstractCursor<TSchema, CursorEvents>
once
Type parameters
EventKey: string | number | symbol
Parameters
event: EventKey
listener: CursorEvents[EventKey]
Returns AbstractCursor<TSchema, CursorEvents>
Parameters
event: CommonEvents
listener: (eventName: string | symbol, listener: GenericListener) => void
Parameters
eventName: string | symbol
listener: GenericListener
Returns void
Returns AbstractCursor<TSchema, CursorEvents>
Parameters
event: string | symbol
listener: GenericListener
Returns AbstractCursor<TSchema, CursorEvents>
prepend Listener
Type parameters
EventKey: string | number | symbol
Parameters
event: EventKey
listener: CursorEvents[EventKey]
Returns AbstractCursor<TSchema, CursorEvents>
Parameters
event: CommonEvents
listener: (eventName: string | symbol, listener: GenericListener) => void
Parameters
eventName: string | symbol
listener: GenericListener
Returns void
Returns AbstractCursor<TSchema, CursorEvents>
Parameters
event: string | symbol
listener: GenericListener
Returns AbstractCursor<TSchema, CursorEvents>
prepend Once Listener
Type parameters
EventKey: string | number | symbol
Parameters
event: EventKey
listener: CursorEvents[EventKey]
Returns AbstractCursor<TSchema, CursorEvents>
Parameters
event: CommonEvents
listener: (eventName: string | symbol, listener: GenericListener) => void
Parameters
eventName: string | symbol
listener: GenericListener
Returns void
Returns AbstractCursor<TSchema, CursorEvents>
Parameters
event: string | symbol
listener: GenericListener
Returns AbstractCursor<TSchema, CursorEvents>
raw Listeners
Type parameters
EventKey: string | number | symbol
Parameters
event: string | symbol | EventKey
Returns CursorEvents[EventKey][]
read Buffered Documents
Returns Promise<null | TSchema>
Parameters
callback: Callback<null | TSchema>
Returns void
Parameters
Optional callback: Callback<null | TSchema>
Returns void | Promise<null | TSchema>
off
Type parameters
EventKey: string | number | symbol
Parameters
event: EventKey
listener: CursorEvents[EventKey]
Returns AbstractCursor<TSchema, CursorEvents>
Parameters
event: CommonEvents
listener: (eventName: string | symbol, listener: GenericListener) => void
Parameters
eventName: string | symbol
listener: GenericListener
Returns void
Returns AbstractCursor<TSchema, CursorEvents>
Parameters
event: string | symbol
listener: GenericListener
Returns AbstractCursor<TSchema, CursorEvents>
on
Type parameters
EventKey: string | number | symbol
Parameters
event: EventKey
listener: CursorEvents[EventKey]
Returns AbstractCursor<TSchema, CursorEvents>
Parameters
event: CommonEvents
listener: (eventName: string | symbol, listener: GenericListener) => void
Parameters
eventName: string | symbol
listener: GenericListener
Returns void
Returns AbstractCursor<TSchema, CursorEvents>
Parameters
event: string | symbol
listener: GenericListener
Returns AbstractCursor<TSchema, CursorEvents>
once
Type parameters
EventKey: string | number | symbol
Parameters
event: EventKey
listener: CursorEvents[EventKey]
Returns AbstractCursor<TSchema, CursorEvents>
Parameters
event: CommonEvents
listener: (eventName: string | symbol, listener: GenericListener) => void
Parameters
eventName: string | symbol
listener: GenericListener
Returns void
Returns AbstractCursor<TSchema, CursorEvents>
Parameters
event: string | symbol
listener: GenericListener
Returns AbstractCursor<TSchema, CursorEvents>
prepend Listener
Type parameters
EventKey: string | number | symbol
Parameters
event: EventKey
listener: CursorEvents[EventKey]
Returns AbstractCursor<TSchema, CursorEvents>
Parameters
event: CommonEvents
listener: (eventName: string | symbol, listener: GenericListener) => void
Parameters
eventName: string | symbol
listener: GenericListener
Returns void
Returns AbstractCursor<TSchema, CursorEvents>
Parameters
event: string | symbol
listener: GenericListener
Returns AbstractCursor<TSchema, CursorEvents>
prepend Once Listener
Type parameters
EventKey: string | number | symbol
Parameters
event: EventKey
listener: CursorEvents[EventKey]
Returns AbstractCursor<TSchema, CursorEvents>
Parameters
event: CommonEvents
listener: (eventName: string | symbol, listener: GenericListener) => void
Parameters
eventName: string | symbol
listener: GenericListener
Returns void
Returns AbstractCursor<TSchema, CursorEvents>
Parameters
event: string | symbol
listener: GenericListener
Returns AbstractCursor<TSchema, CursorEvents>
raw Listeners
Type parameters
EventKey: string | number | symbol
Parameters
event: string | symbol | EventKey
Returns CursorEvents[EventKey][]
read Buffered Documents
Returns current buffered documents
-Parameters
Optional number: number
Returns TSchema[]
remove All Listeners
Type parameters
EventKey: string | number | symbol
Parameters
Optional event: string | symbol | EventKey
Returns AbstractCursor<TSchema, CursorEvents>
remove Listener
Type parameters
EventKey: string | number | symbol
Parameters
event: EventKey
listener: CursorEvents[EventKey]
Returns AbstractCursor<TSchema, CursorEvents>
Parameters
event: CommonEvents
listener: (eventName: string | symbol, listener: GenericListener) => void
Parameters
eventName: string | symbol
listener: GenericListener
Returns void
Returns AbstractCursor<TSchema, CursorEvents>
Parameters
event: string | symbol
listener: GenericListener
Returns AbstractCursor<TSchema, CursorEvents>
rewind
Parameters
Optional number: number
Returns TSchema[]
remove All Listeners
Type parameters
EventKey: string | number | symbol
Parameters
Optional event: string | symbol | EventKey
Returns AbstractCursor<TSchema, CursorEvents>
remove Listener
Type parameters
EventKey: string | number | symbol
Parameters
event: EventKey
listener: CursorEvents[EventKey]
Returns AbstractCursor<TSchema, CursorEvents>
Parameters
event: CommonEvents
listener: (eventName: string | symbol, listener: GenericListener) => void
Parameters
eventName: string | symbol
listener: GenericListener
Returns void
Returns AbstractCursor<TSchema, CursorEvents>
Parameters
event: string | symbol
listener: GenericListener
Returns AbstractCursor<TSchema, CursorEvents>
rewind
Rewind this cursor to its uninitialized state. Any options that are present on the cursor will remain in effect. Iterating this cursor will cause new queries to be sent to the server, even if the resultant data has already been retrieved by this cursor.
-Returns void
set Max Listeners
Parameters
n: number
Returns AbstractCursor<TSchema, CursorEvents>
stream
Parameters
Optional options: CursorStreamOptions
Returns Readable
to Array
Returns void
set Max Listeners
Parameters
n: number
Returns AbstractCursor<TSchema, CursorEvents>
stream
Parameters
Optional options: CursorStreamOptions
Returns Readable
to Array
Returns an array of documents. The caller is responsible for making sure that there is enough memory to store the results. Note that the array only contains partial results when this cursor had been previously accessed. In that case, cursor.rewind() can be used to reset the cursor.
-Returns Promise<TSchema[]>
Parameters
callback: Callback<TSchema[]>
Returns void
try Next
Returns Promise<TSchema[]>
Parameters
callback: Callback<TSchema[]>
Returns void
try Next
Try to get the next available document from the cursor or
-null
if an empty batch is returnedReturns Promise<null | TSchema>
Parameters
callback: Callback<null | TSchema>
Returns void
with Read Concern
Returns Promise<null | TSchema>
Parameters
callback: Callback<null | TSchema>
Returns void
with Read Concern
Set the ReadPreference for the cursor.
-Parameters
readConcern: ReadConcernLike
Returns AbstractCursor<TSchema, CursorEvents>
with Read Preference
Parameters
readConcern: ReadConcernLike
Returns AbstractCursor<TSchema, CursorEvents>
with Read Preference
Set the ReadPreference for the cursor.
Parameters
readPreference: ReadPreferenceLike
The new read preference for the cursor.
diff --git a/docs/Next/classes/Admin.html b/docs/Next/classes/Admin.html index 9fe65ed39a9..ddda1c7dc4f 100644 --- a/docs/Next/classes/Admin.html +++ b/docs/Next/classes/Admin.html @@ -4,32 +4,32 @@ADMIN Cannot directly be instantiated
Hierarchy
Index
Methods
Methods
add User
Hierarchy
Index
Methods
Methods
add User
Add a user to the database
Parameters
username: string
The username for the new user
-Returns Promise<Document>
Parameters
username: string
callback: Callback<Document>
Returns void
Parameters
username: string
password: string
Returns Promise<Document>
Parameters
username: string
password: string
callback: Callback<Document>
Returns void
Parameters
username: string
options: AddUserOptions
Returns Promise<Document>
Parameters
username: string
options: AddUserOptions
callback: Callback<Document>
Returns void
Parameters
username: string
password: string
options: AddUserOptions
Returns Promise<Document>
Parameters
username: string
password: string
options: AddUserOptions
callback: Callback<Document>
Returns void
build Info
Returns Promise<Document>
Parameters
username: string
callback: Callback<Document>
Returns void
Parameters
username: string
password: string
Returns Promise<Document>
Parameters
username: string
password: string
callback: Callback<Document>
Returns void
Parameters
username: string
options: AddUserOptions
Returns Promise<Document>
Parameters
username: string
options: AddUserOptions
callback: Callback<Document>
Returns void
Parameters
username: string
password: string
options: AddUserOptions
Returns Promise<Document>
Parameters
username: string
password: string
options: AddUserOptions
callback: Callback<Document>
Returns void
build Info
Retrieve the server build information
-Returns Promise<Document>
Parameters
callback: Callback<Document>
Returns void
Parameters
options: CommandOperationOptions
Returns Promise<Document>
Parameters
options: CommandOperationOptions
callback: Callback<Document>
Returns void
command
Returns Promise<Document>
Parameters
callback: Callback<Document>
Returns void
Parameters
options: CommandOperationOptions
Returns Promise<Document>
Parameters
options: CommandOperationOptions
callback: Callback<Document>
Returns void
command
Execute a command
Parameters
command: Document
The command to execute
-Returns Promise<Document>
Parameters
command: Document
callback: Callback<Document>
Returns void
Parameters
command: Document
options: CommandOperationOptions
Returns Promise<Document>
Parameters
command: Document
options: CommandOperationOptions
callback: Callback<Document>
Returns void
list Databases
Returns Promise<Document>
Parameters
command: Document
callback: Callback<Document>
Returns void
Parameters
command: Document
options: CommandOperationOptions
Returns Promise<Document>
Parameters
command: Document
options: CommandOperationOptions
callback: Callback<Document>
Returns void
list Databases
List the available databases
-Returns Promise<ListDatabasesResult>
Parameters
callback: Callback<ListDatabasesResult>
Returns void
Parameters
options: ListDatabasesOptions
Returns Promise<ListDatabasesResult>
Parameters
options: ListDatabasesOptions
callback: Callback<ListDatabasesResult>
Returns void
ping
Returns Promise<ListDatabasesResult>
Parameters
callback: Callback<ListDatabasesResult>
Returns void
Parameters
options: ListDatabasesOptions
Returns Promise<ListDatabasesResult>
Parameters
options: ListDatabasesOptions
callback: Callback<ListDatabasesResult>
Returns void
ping
Ping the MongoDB server and retrieve results
-Returns Promise<Document>
Parameters
callback: Callback<Document>
Returns void
Parameters
options: CommandOperationOptions
Returns Promise<Document>
Parameters
options: CommandOperationOptions
callback: Callback<Document>
Returns void
remove User
Returns Promise<Document>
Parameters
callback: Callback<Document>
Returns void
Parameters
options: CommandOperationOptions
Returns Promise<Document>
Parameters
options: CommandOperationOptions
callback: Callback<Document>
Returns void
remove User
Remove a user from a database
Parameters
username: string
The username to remove
-Returns Promise<boolean>
Parameters
username: string
callback: Callback<boolean>
Returns void
Parameters
username: string
options: CommandOperationOptions
Returns Promise<boolean>
Parameters
username: string
options: CommandOperationOptions
callback: Callback<boolean>
Returns void
repl Set Get Status
Returns Promise<boolean>
Parameters
username: string
callback: Callback<boolean>
Returns void
Parameters
username: string
options: CommandOperationOptions
Returns Promise<boolean>
Parameters
username: string
options: CommandOperationOptions
callback: Callback<boolean>
Returns void
repl Set Get Status
Get ReplicaSet status
-Returns Promise<Document>
Parameters
callback: Callback<Document>
Returns void
Parameters
options: CommandOperationOptions
Returns Promise<Document>
Parameters
options: CommandOperationOptions
callback: Callback<Document>
Returns void
server Info
Returns Promise<Document>
Parameters
callback: Callback<Document>
Returns void
Parameters
options: CommandOperationOptions
Returns Promise<Document>
Parameters
options: CommandOperationOptions
callback: Callback<Document>
Returns void
server Info
Retrieve the server build information
-Returns Promise<Document>
Parameters
callback: Callback<Document>
Returns void
Parameters
options: CommandOperationOptions
Returns Promise<Document>
Parameters
options: CommandOperationOptions
callback: Callback<Document>
Returns void
server Status
Returns Promise<Document>
Parameters
callback: Callback<Document>
Returns void
Parameters
options: CommandOperationOptions
Returns Promise<Document>
Parameters
options: CommandOperationOptions
callback: Callback<Document>
Returns void
server Status
Retrieve this db's server status.
-Returns Promise<Document>
Parameters
callback: Callback<Document>
Returns void
Parameters
options: CommandOperationOptions
Returns Promise<Document>
Parameters
options: CommandOperationOptions
callback: Callback<Document>
Returns void
validate Collection
Returns Promise<Document>
Parameters
callback: Callback<Document>
Returns void
Parameters
options: CommandOperationOptions
Returns Promise<Document>
Parameters
options: CommandOperationOptions
callback: Callback<Document>
Returns void
validate Collection
Validate an existing collection
Parameters
collectionName: string
The name of the collection to validate.
-Returns Promise<Document>
Parameters
collectionName: string
callback: Callback<Document>
Returns void
Parameters
collectionName: string
options: ValidateCollectionOptions
Returns Promise<Document>
Parameters
collectionName: string
options: ValidateCollectionOptions
callback: Callback<Document>
Returns void
Generated using TypeDoc
Returns Promise<Document>
Parameters
collectionName: string
callback: Callback<Document>
Returns void
Parameters
collectionName: string
options: ValidateCollectionOptions
Returns Promise<Document>
Parameters
collectionName: string
options: ValidateCollectionOptions
callback: Callback<Document>
Returns void