Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
mongodb
ObjectID
Class ObjectID
Index
Constructor methods
constructor
Methods
createFromHexString
createFromTime
equals
getTimestamp
toHexString
Constructor methods
constructor
(
s
?:
string
)
:
ObjectID
Parameters
s?:
string
optional
Returns
ObjectID
Methods
public
static
createFromHexString
(
hexString
:
string
)
:
ObjectID
Parameters
hexString:
string
Returns
ObjectID
public
static
createFromTime
(
time
:
number
)
:
ObjectID
Parameters
time:
number
Returns
ObjectID
public
equals
(
otherID
:
ObjectID
)
:
boolean
Parameters
otherID:
ObjectID
Returns
boolean
public
getTimestamp
(
)
:
Date
Returns
Date
public
toHexString
(
)
:
string
Returns
string
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
Collection
CollectionCreateOptions
CollectionFindOptions
DbCreateOptions
IndexOptions
MapReduceOptions
MongoCollectionOptions
PKFactory
ServerOptions
SocketOptions
Cursor
CursorStream
Db
MongoClient
ObjectID
constructor
createFromHexString
createFromTime
equals
getTimestamp
toHexString
ReadPreference
Server