Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
gridfs-stream
Dynamic module gridfs-stream
Index
Functions
g
Functions
g
(
db
:
any
, mongo
:
any
)
:
Grid
Parameters
db:
any
mongo:
any
Returns
Grid
Grid
:
Grid
public
files
:
Collection
public
collection
(
name
?:
string
)
:
Collection
Parameters
name?:
string
optional
Returns
Collection
public
createReadStream
(
options
?:
Options
)
:
ReadStream
Parameters
options?:
Options
optional
Returns
ReadStream
public
createReadStream
(
options
?:
string
)
:
ReadStream
Parameters
options?:
string
optional
Returns
ReadStream
public
createWriteStream
(
options
?:
Options
)
:
WriteStream
Parameters
options?:
Options
optional
Returns
WriteStream
public
createWriteStream
(
options
?:
string
)
:
WriteStream
Parameters
options?:
string
optional
Returns
WriteStream
public
exist
(
options
:
Options
, callback
:
(err: Error, found: boolean) => void
)
Parameters
options:
Options
callback:
(err: Error, found: boolean) => void
public
remove
(
options
:
Options
, callback
:
(err: Error) => void
)
Parameters
options:
Options
callback:
(err: Error) => void
Globals
GridFSStream
NodeJS
assert
buffer
child_process
cluster
crypto
dgram
dns
domain
events
fs
gridfs-stream
http
https
mongodb
net
os
path
punycode
querystring
readline
repl
stream
string_decoder
tls
tty
url
util
vm
zlib
g