Class Update

java.lang.Object
org.springframework.data.r2dbc.query.Update

@Deprecated public class Update extends Object
Deprecated.
since 1.1, use Update instead.
Class to easily construct SQL update assignments.
Author:
Mark Paluch, Oliver Drotbohm
  • Method Details

    • update

      public static Update update(String column, @Nullable Object value)
      Deprecated.
      Static factory method to create an Update using the provided column.
      Parameters:
      column - must not be null.
      value - can be null.
      Returns:
    • set

      public Update set(String column, @Nullable Object value)
      Deprecated.
      Update a column by assigning a value.
      Parameters:
      column - must not be null.
      value - can be null.
      Returns:
    • set

      public Update set(org.springframework.data.relational.core.sql.SqlIdentifier column, @Nullable Object value)
      Deprecated.
      Update a column by assigning a value.
      Parameters:
      column - must not be null.
      value - can be null.
      Returns:
      Since:
      1.1
    • getAssignments

      public Map<org.springframework.data.relational.core.sql.SqlIdentifier,Object> getAssignments()
      Deprecated.
      Returns all assignments.
      Returns: