These are chat archives for Automattic/mongoose

11th
May 2017
Rhett Lowe
@rhettl
May 11 2017 19:12
Hello All, I am in need of storing Functions in Mongo. The functions perform actions like on-save, on-sign (signing PDFs), etc. They are tied directly to the document and version of the document so they are best stored with the document. I was hoping to use the Mongo.Code() type, but I cannot seem to find any documentation on how to do that. I would appreciate any advice. Here is a link to Mongo.Code() documentation http://mongodb.github.io/node-mongodb-native/2.2/api/Code.html