|
|
|
|
<Variable mongoGridFS>.GetFileById (Función) Recupera (en la computadora local) un archivo identificado por su identificador y encontrado en un sistema de archivos MongoDB. Observación: Para recuperar un archivo identificado a partir de su nombre, utilice .GetFile. gclGridFS is mongoGridFS FOR EACH file OF MongoGridFSListFile(gclGridFS) gclGridFS.GetFileByID(file.ID, fDataDir() + ["\"] + file.Name) END
Sintaxis
<Result> = <File system>.GetFileByID(<Identifier of file to retrieve> , <Name of local file>)
<Result>: booleano - True si se realizó la operación,
- False si se produce un problema. La función ErrorInfo permite identificar el error.
<File system>: mongoGridFS Variable Nombre del mongoGridFS Variable que corresponde al sistema de archivos Mongo a utilizar. <Identifier of file to retrieve>: Variant Identificador del archivo en el sistema de archivos de MongoDB que se recuperará en el ordenador local. <Name of local file>: Cadena de caracteres Nombre y ruta del archivo que se recuperará en el ordenador local.
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|