[jOOQ/jOOQ#9190] Add support for CREATE FUNCTION - WIP
This commit is contained in:
parent
501115c250
commit
fb83bee182
@ -37,6 +37,7 @@
|
||||
*/
|
||||
package org.jooq;
|
||||
|
||||
import org.jooq.impl.DSL;
|
||||
|
||||
/**
|
||||
* The mode of a {@link Param}.
|
||||
|
||||
@ -189,6 +189,16 @@ package org.jooq.impl;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -12042,6 +12042,15 @@ public class DSL {
|
||||
// XXX: Routine parameter constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create an <code>IN</code> parameter.
|
||||
*/
|
||||
@NotNull
|
||||
@Support
|
||||
public static <T> Parameter<T> in(String name, DataType<T> type) {
|
||||
return in(name(name), type);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an <code>IN</code> parameter.
|
||||
*/
|
||||
@ -12051,6 +12060,15 @@ public class DSL {
|
||||
return new ParameterImpl<>(ParamMode.IN, name, type);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an <code>IN OUT</code> parameter.
|
||||
*/
|
||||
@NotNull
|
||||
@Support
|
||||
public static <T> Parameter<T> inOut(String name, DataType<T> type) {
|
||||
return inOut(name(name), type);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an <code>IN OUT</code> parameter.
|
||||
*/
|
||||
@ -12060,6 +12078,15 @@ public class DSL {
|
||||
return new ParameterImpl<>(ParamMode.INOUT, name, type);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an <code>OUT</code> parameter.
|
||||
*/
|
||||
@NotNull
|
||||
@Support
|
||||
public static <T> Parameter<T> out(String name, DataType<T> type) {
|
||||
return out(name(name), type);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an <code>OUT</code> parameter.
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user