[#3628] Add <T> Field<T> DSL.field(Select<? extends Record1<T>>)
This commit is contained in:
parent
ebe9d22b2f
commit
ba87ad6e60
@ -6339,6 +6339,14 @@ public class DSL {
|
||||
// XXX Global Field and Function factory
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Transform a subquery into a correlated subquery.
|
||||
*/
|
||||
@Support
|
||||
public static <T> Field<T> field(Select<? extends Record1<T>> select) {
|
||||
return select.<T>asField();
|
||||
}
|
||||
|
||||
/**
|
||||
* Initialise a {@link Case} statement.
|
||||
* <p>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user