SchemaArgs class
The set of arguments for Schema. The set of arguments for Schema.
Constructors
-
SchemaArgs({Input<
String> ? database, Input<bool> ? dropCascade, Input<bool> ? ifNotExists, Input<String> ? name, Input<String> ? owner, Input<List< ? policies})SchemaPolicy> > -
Creates a new SchemaArgs.
databaseThe DATABASE in which where this schema will be created. (Default: The database used by yourproviderconfiguration)dropCascadeWhen true, will also drop all the objects that are contained in the schema. (Default: false)ifNotExistsWhen true, use the existing schema if it exists. (Default: true)nameThe name of the schema. Must be unique in the PostgreSQLownerThe ROLE who owns the schema.policiesCan be specified multiple times for each policy. Eachconst -
SchemaArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
database
→ Input<
String> ? -
The DATABASE in which where this schema will be created. (Default: The database used by your
providerconfiguration)final -
dropCascade
→ Input<
bool> ? -
When true, will also drop all the objects that are contained in the schema. (Default: false)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
ifNotExists
→ Input<
bool> ? -
When true, use the existing schema if it exists. (Default: true)
final
-
name
→ Input<
String> ? -
The name of the schema. Must be unique in the PostgreSQL
database instance where it is configured.
final
-
owner
→ Input<
String> ? -
The ROLE who owns the schema.
final
-
policies
→ Input<
List< ?SchemaPolicy> > -
Can be specified multiple times for each policy. Each
policy block supports fields documented below.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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