FunctionState class
Input properties used for looking up and filtering Function resources.
Constructors
-
FunctionState({Input<
List< ? args, Input<FunctionArg> >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.
argsList of arguments for the function.bodyFunction body.databaseThe database where the function is located.dropCascadeTrue to automatically drop objects that depend on the function (such aslanguageThe function programming language. Can be one of internal, sql, c, plpgsql. Default is plpgsql.nameThe name of the function.parallelIndicates if the function is parallel safe. Can be one of UNSAFE, RESTRICTED, or SAFE. Default is UNSAFE.returnsType that the function returns. It can be computed from the OUT arguments. Default is void.schemaThe schema where the function is located.securityDefinerIf the function should execute with the permissions of the owner, rather than the permissions of the caller. Default is false.strictIf the function should always return NULL when any of the inputs is NULL. Default is false.volatilityDefines 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 theAS $$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