How to use the encode function from bson
Find comprehensive JavaScript bson.encode code examples handpicked from public code repositorys.
GitHub: FIBOSIO/fibos.io

17 18 19 20 21 22 23 24 25 26
### encode **以 bson 格式编码变量** ```JavaScript static Buffer bson.encode(Object data); ``` 调用参数: * data: Object, 要编码的变量
+ 13 other calls in file
bson.ObjectId is the most popular function in bson (1017 examples)