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<SchemaPolicy>>? policies})
Creates a new SchemaArgs. database The DATABASE in which where this schema will be created. (Default: The database used by your provider configuration) dropCascade When true, will also drop all the objects that are contained in the schema. (Default: false) ifNotExists When true, use the existing schema if it exists. (Default: true) name The name of the schema. Must be unique in the PostgreSQL owner The ROLE who owns the schema. policies Can be specified multiple times for each policy. Each
const
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 provider configuration)
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