You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with r2dbc there only insert() method to add new entity, so why not add new method insertOrUpdate (or just save) to insert entity if not exists or update it if already exists
The text was updated successfully, but these errors were encountered:
DatabaseClient is not an entity-based API. It is primarily SQL-oriented with a possibility to benefit from Spring Data's mapping metadata.
We currently miss update and delete methods because there is no API to express predicates. With #64 we will get these and DatabaseClient receives update() and delete() methods.
If you want insert or update semantics, use R2DBC repositories. SimpleR2dbcRepository gives you exactly that behavior considering Spring Data-specific extensions such as Persistable.
hi
with r2dbc there only insert() method to add new entity, so why not add new method insertOrUpdate (or just save) to insert entity if not exists or update it if already exists
The text was updated successfully, but these errors were encountered: