Created
May 14, 2020 18:30
-
-
Save baranovxyz/e061a04ed095a2a9a9a8f5fdee2b7765 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let doc = { _id: 1 }; | |
console.log(BSON.serialize(doc)); | |
// <Buffer 0e 00 00 00 10 5f 69 64 00 01 00 00 00 00> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment