Preparing search index...
The search index is not available
biorate
biorate
mongodb
mongoose
ModifyResult
Interface ModifyResult<T>
interface
ModifyResult
<
T
>
{
lastErrorObject
?:
{
updatedExisting
?:
boolean
;
upserted
?:
mongoose
.
mongo
.
BSON
.
ObjectId
;
}
;
ok
:
0
|
1
;
value
:
Require_id
<
T
>
;
}
Type Parameters
T
Index
Properties
last
Error
Object?
ok
value
Properties
Optional
last
Error
Object
last
Error
Object
?:
{
updatedExisting
?:
boolean
;
upserted
?:
mongoose
.
mongo
.
BSON
.
ObjectId
;
}
see
https://www.mongodb.com/docs/manual/reference/command/findAndModify/#lasterrorobject
Type declaration
Optional
updated
Existing
?:
boolean
Optional
upserted
?:
mongoose
.
mongo
.
BSON
.
ObjectId
ok
ok
:
0
|
1
value
value
:
Require_id
<
T
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
last
Error
Object
ok
value
biorate
Loading...
see https://www.mongodb.com/docs/manual/reference/command/findAndModify/#lasterrorobject