Class UpdateStatement


  • public final class UpdateStatement
    extends Object
    Represents an sql "UPDATE" statement
    • Method Detail

      • tableName

        public UpdateStatement tableName​(String tableName)
        Mark the table name which we're going to update it's values.
        Parameters:
        tableName - name of the table
        Returns:
        this instance for chaining
      • values

        public UpdateStatement values​(String[] keys,
                                      Object[] values)
        Mark the values we're going to update
        Parameters:
        keys - keys
        values - values
        Returns:
        this instance for chaining
      • where

        public UpdateStatement where​(String[] keys,
                                     Object[] values)
        Mark the update condition the statement should follow.
        Parameters:
        keys - keys
        values - values
        Returns:
        this instance for chaining