[jOOQ/jOOQ#9190] Add support for CREATE FUNCTION - WIP

This commit is contained in:
Lukas Eder 2021-01-27 21:10:57 +01:00
parent 501115c250
commit fb83bee182
3 changed files with 38 additions and 0 deletions

View File

@ -37,6 +37,7 @@
*/
package org.jooq;
import org.jooq.impl.DSL;
/**
* The mode of a {@link Param}.

View File

@ -189,6 +189,16 @@ package org.jooq.impl;

View File

@ -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.
*/