org.jooq
Interface UpdateSetStep<R extends Record>

All Known Subinterfaces:
UpdateSetMoreStep<R>

public interface UpdateSetStep<R extends Record>

This type is used for the Update's DSL API.

Example:

 Factory create = new Factory();

 create.update(table)
       .set(field1, value1)
       .set(field2, value2)
       .where(field1.greaterThan(100))
       .execute();
 

Author:
Lukas Eder

Method Summary
<T> UpdateSetMoreStep<R>
set(Field<T> field, Field<T> value)
          Set a value for a field in the UPDATE statement
<T> UpdateSetMoreStep<R>
set(Field<T> field, T value)
          Set a value for a field in the UPDATE statement
 UpdateSetMoreStep<R> set(Map<? extends Field<?>,?> map)
          Set a value for a field in the UPDATE statement Please assure that key/value pairs have matching <T> types.
 

Method Detail

set

<T> UpdateSetMoreStep<R> set(Field<T> field,
                             T value)
Set a value for a field in the UPDATE statement


set

<T> UpdateSetMoreStep<R> set(Field<T> field,
                             Field<T> value)
Set a value for a field in the UPDATE statement


set

UpdateSetMoreStep<R> set(Map<? extends Field<?>,?> map)
Set a value for a field in the UPDATE statement

Please assure that key/value pairs have matching <T> types. Values can either be of type <T> or Field<T>



Copyright © 2012. All Rights Reserved.