Class Delete

    • Method Detail

      • from

        public static Delete from​(@NonNull
                                  @NonNull String table)
        Creates a Delete statement to delete from the given table
        Parameters:
        table - the table
        Returns:
        the delete statement
      • from

        public static Delete from​(@NonNull
                                  @NonNull Table table)
        Creates a Delete statement to delete from the given table
        Parameters:
        table - the table
        Returns:
        the delete statement
      • from

        public static Delete from​(@NonNull
                                  @NonNull SQLElement table)
        Creates a Delete statement to delete from the given table
        Parameters:
        table - the table
        Returns:
        the delete statement
      • where

        public Delete where​(SQLElement whereClause)
        Sets the criteria (i.e. WHERE) for the deletion.
        Parameters:
        whereClause - the where clause
        Returns:
        this Delete object
      • where

        public Delete where​(String whereClause)
        Sets the criteria (i.e. WHERE) for the deletion.
        Parameters:
        whereClause - the where clause
        Returns:
        this Delete object