Mongodb string comparison with slash

前端 未结 0 1208
伪装坚强ぢ
伪装坚强ぢ 2020-12-12 05:32

Why do i get empty result then compare strings with slash?

db.x.find( { path: { $gt: "/1"} } ).sort({ path:1 })

// x collection field path type str         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题