Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
{“姓名”:“约翰”,“年龄”:18 }
如果你有一个 POJO for Person 集合,你可以试试这个
Flux.from(db.getCollection("Person").find(Person.class)).map(Person::getName)
这将为您提供所有名称的 String 通量。