Bob Wang

Results 5 comments of Bob Wang

so did i. i execute db.mongoid_fulltext.index_post_0.find(), just only english chars and words. how to improve this to support chinese?

我也遇到,这个错误和npm,node版本和分支有关~

+1 problem ``` Exception while parsing DDP Error: Custom EJSON type FS.File is not defined at Object.fromJSONValue (ejson.js:215) at fromJSONValueHelper (ejson.js:317) at Object.keys.forEach.key (ejson.js:346) at Array.forEach () at adjustTypesFromJSONValue (ejson.js:343)...

所有的想要多端统一的方案,用起来都不是那么的爽,只能作为补充方案.

let result = db.tableName.aggregate([{$group: {_id: null, fieldName: {$addToSet: '$fieldName'}}}]) console.log(result[0].fieldName.sort())