MongoRepository 是否使用 MongoDB 游标?
Does MongoRepository utilize MongoDB cursor?
取自此SO answer:
@Query("{}")
Stream<Alarm> findAllByCustomQueryAndStream();
我想了解这对大型 collection 有何影响?这是否使用 MongoDB 游标?
所有查找查询都使用游标..
取自此SO answer:
@Query("{}")
Stream<Alarm> findAllByCustomQueryAndStream();
我想了解这对大型 collection 有何影响?这是否使用 MongoDB 游标?
所有查找查询都使用游标..