FunctionState class

Input properties used for looking up and filtering Function resources.

Constructors

FunctionState({Input<List<FunctionArg>>? args, Input<String>? body, Input<String>? database, Input<bool>? dropCascade, Input<String>? language, Input<String>? name, Input<String>? parallel, Input<String>? returns, Input<String>? schema, Input<bool>? securityDefiner, Input<bool>? strict, Input<String>? volatility})
Creates a new FunctionState. args List of arguments for the function. body Function body. database The database where the function is located. dropCascade True to automatically drop objects that depend on the function (such as language The function programming language. Can be one of internal, sql, c, plpgsql. Default is plpgsql. name The name of the function. parallel Indicates if the function is parallel safe. Can be one of UNSAFE, RESTRICTED, or SAFE. Default is UNSAFE. returns Type that the function returns. It can be computed from the OUT arguments. Default is void. schema The schema where the function is located. securityDefiner If the function should execute with the permissions of the owner, rather than the permissions of the caller. Default is false. strict If the function should always return NULL when any of the inputs is NULL. Default is false. volatility Defines the volatility of the function. Can be one of VOLATILE, STABLE, or IMMUTABLE. Default is VOLATILE.
const
FunctionState.fromMap(Map<String, dynamic> map)
factory

Properties

args → Input<List<FunctionArg>>?
List of arguments for the function.
final
body → Input<String>?
Function body. This should be the body content within the AS $$ and the final $$. It will also accept the AS $$ and $$ if added.
final
database → Input<String>?
The database where the function is located. If not specified, the function is created in the current database.
final
dropCascade → Input<bool>?
True to automatically drop objects that depend on the function (such as operators or triggers), and in turn all objects that depend on those objects. Default is false.
final
hashCode → int
The hash code for this object.
no setterinherited
language → Input<String>?
The function programming language. Can be one of internal, sql, c, plpgsql. Default is plpgsql.
final
name → Input<String>?
The name of the function.
final
parallel → Input<String>?
Indicates if the function is parallel safe. Can be one of UNSAFE, RESTRICTED, or SAFE. Default is UNSAFE.
final
returns → Input<String>?
Type that the function returns. It can be computed from the OUT arguments. Default is void.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
schema → Input<String>?
The schema where the function is located. If not specified, the function is created in the current schema.
final
securityDefiner → Input<bool>?
If the function should execute with the permissions of the owner, rather than the permissions of the caller. Default is false.
final
strict → Input<bool>?
If the function should always return NULL when any of the inputs is NULL. Default is false.
final
volatility → Input<String>?
Defines the volatility of the function. Can be one of VOLATILE, STABLE, or IMMUTABLE. Default is VOLATILE.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited