PublicationState constructor

const PublicationState({
  1. Input<bool>? allTables,
  2. Input<String>? database,
  3. Input<bool>? dropCascade,
  4. Input<String>? name,
  5. Input<String>? owner,
  6. Input<List<String>>? publishParams,
  7. Input<bool>? publishViaPartitionRootParam,
  8. Input<List<String>>? tables,
})

Creates a new PublicationState. allTables Should be ALL TABLES added to the publication. Defaults to 'false' database Which database to create the publication on. Defaults to provider database. dropCascade Should all subsequent resources of the publication be dropped. Defaults to 'false' name The name of the publication. owner Who owns the publication. Defaults to provider user. publishParams Which 'publish' options should be turned on. Default to 'insert','update','delete' publishViaPartitionRootParam Should be option 'publish_via_partition_root' be turned on. Default to 'false' tables Which tables add to the publication. By defaults no tables added. Format of table is &lt;schema_name&gt;.&lt;table_name&gt;. If &lt;schema_name&gt; is not specified - default database schema will be used. Table string must be listed in alphabetical order.

Implementation

const PublicationState({
  this.allTables,
  this.database,
  this.dropCascade,
  this.name,
  this.owner,
  this.publishParams,
  this.publishViaPartitionRootParam,
  this.tables,
});