Don't Spring Data repositories support between inclusive in queries?

后端 未结 0 1920
鱼传尺愫
鱼传尺愫 2021-01-19 08:11

With Spring Data version 2.3.4 a custom repository method named findAllByRoadIdAndDateBetween generates a MongoDB query like this:

{ "roadId         


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