Skip to content

Instantly share code, notes, and snippets.

@jaimemin
Created August 21, 2024 14:17
Mono<Integer> result = r2dbcEntityTemplate
.update(User.class) // 업데이트할 엔티티 클래스 지정
.matching(query(where("email").is("john.doe@example.com"))) // 업데이트할 조건 지정
.apply(Update.update("status", "ACTIVE")) // 업데이트할 필드와 값 지정
.execute(); // 업데이트 작업 실행
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment