package Ġio . github . recipe store . repository Ċ Ċ import Ġio . github . recipe store . domain . Ingredient Category Ċ import Ġorg . springframework . data . r 2 dbc . repository . Modify ing Ċ import Ġorg . springframework . data . r 2 dbc . repository . Query Ċ import Ġorg . springframework . data . repository . reactive . Reactive Crud Repository Ċ import Ġreactor . core . publisher . Flux Ċ import Ġreactor . core . publisher . Mono Ċ Ċ interface ĠIng redient Category Repository Ġ: ĠReactive Crud Repository < Ingredient Category , ĠLong > Ġ{ ĊĊĠĠĠ Ġfun ĠfindAll By Parent CategoryId ( parentId : ĠLong ?): ĠFlux < Ingredient Category > ĊĊĠĠĠ Ġ@ Modify ing ĊĠĠĠ Ġ@ Query (" UPDATE ĠIN GRE DI ENT _ CATEGORY ĠSET ĠNAME =: name , ĠDESCRIPTION =: description , ĠP ARENT _ CATEGORY _ ID =: parentId , ĠUSER _ ID =: userId , ĠMO DI FIED = CURRENT _ TIMESTAMP () ĠWHERE ĠIN GRE DI ENT _ CATEGORY _ ID =: id ") ĊĠĠĠ Ġfun Ġupdate Category ( id : ĠLong , Ġname : ĠString , Ġdescription : ĠString , ĠparentId : ĠLong ?, ĠuserId : ĠLong ): ĠMono < Int > Ċ }