public interface CreateDseFunctionWithLanguage
Modifier and Type | Method and Description |
---|---|
CreateDseFunctionEnd |
as(String functionBody)
Adds AS to the create function specification.
|
default CreateDseFunctionEnd |
asQuoted(String functionBody)
Adds AS to the create function specification and quotes the function body.
|
@NonNull CreateDseFunctionEnd as(@NonNull String functionBody)
'myBody'
. If the body itself contains single quotes, one could use a
postgres-style string literal, which is surrounded in two dollar signs, i.e. $$ myBody $$
.@NonNull default CreateDseFunctionEnd asQuoted(@NonNull String functionBody)
$$ myBody $$
, otherwise the body is quoted with single quotes, i.e.
' myBody '
. If the function body is already quoted as(String)
should be used
instead.Copyright © 2017–2019. All rights reserved.