Update mongodb
This commit is contained in:
parent
d32b2a8ce5
commit
9427a756c9
31 changed files with 83 additions and 52 deletions
3
src/misc/is-objectid.ts
Normal file
3
src/misc/is-objectid.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
export default function(x: any): boolean {
|
||||
return x.hasOwnProperty('toHexString') || x.hasOwnProperty('_bsontype');
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue