Is another way to save some data with type 13 or 14 ?
1) Can't insert in database some data with type 13 (Javascript). This type was found here
import pymongo import bson coll = pymongo.Connection().testdb.tmpcoll3 coll.remove() coll.insert({"field": bson.Code("function(){ return true; }", scope=None)}, safe=True) item = coll.find_one({"field": {"$type": 13}}) # item would be None but must exists2) There is no way to save in database some data with type 14 (Symbol).