|
|
|
|
|
<mongoDatabase variable>.ExecuteCommand (Función) Runs a generic command on a MongoDB database. BaseMDB is mongoDatabase
BaseMDB.ExécuteCommande("{ ""ping"" : 1 }" )
Sintaxis
Ejecutar un comando en una base de datos MongoDB Ocultar los detalles
<Result> = <Database>.RunCommand(<Command>)
<Result>: Variable de tipo mongoResult mongoResult variable corresponding to the result of command. If a problem occurs. ErrorInfo is used to identify the error. <Database>: Variable de tipo mongoDatabase Name of the mongoDatabase variable corresponding to the MongoDB database where the command will be run. <Command>: Cadena de caracteres, buffer o variante Document describing the command to run. This document can be: - a document in JSON format. In this case, this parameter corresponds to a character string.
- a document in BSON format. In this case, this parameter corresponds to a buffer.
- a variant.
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|