i want konw r2dbc principle, so i debug the code, but i find it work weird.
Flux.range(1, 10)
.flatMap(id -> repository.save(new Student(id, "lxp")))
.doOnNext(System.out::println)
.subscribe();
why it run all save
before run doOnNext?
In my understanding, it run save then doOnNext one by one.
it hard.hope someone can help me.thanks.