我正在尝试在 java 中转换此查询:
db.beni.find({ $where: function() {
return /.*11/.test(this.foglio) || /.*99/.test(this.comune) } })
其中 this.foglio 是一个数字字段,而 this.comune 是一个字符串字段。
谢谢
我正在尝试在 java 中转换此查询:
db.beni.find({ $where: function() {
return /.*11/.test(this.foglio) || /.*99/.test(this.comune) } })
其中 this.foglio 是一个数字字段,而 this.comune 是一个字符串字段。
谢谢