Class Update


public class Update extends Sql
The class extends Sql ad aims to represnt and define an instance of sql statement "UPDATE SET WHERE".
  • Field Details

  • Constructor Details

    • Update

      public Update(String table)
      The class's constructor that sets the structure of the sql statement (as Fragment) "UPDATE SET WHERE".
      For example, after the SET keyword, all fields are separated by a comma (field1=value1,field2=value2...) and all clauses in the "WHERE" are AndCondition.
      Parameters:
      table - The table in wich we want to update datas.
  • Method Details

    • set

      public Condition set()
      Gets the current SET statement.
      Returns:
      The current SET statement.
    • where

      public Condition where()
      Gets the current WHERE statement.
      Returns:
      The current WHERE statement.