Cerbero.DDL.Effect (cerbero v0.1.0)

Copy Markdown View Source

What one operation does to the database: lock mode, cost class, touched relations.

Summary

Types

cost()

@type cost() :: :metadata_only | :full_scan | :rewrite

lock()

@type lock() ::
  :access_exclusive
  | :share
  | :share_row_exclusive
  | :share_update_exclusive
  | :row_exclusive
  | :none
  | :online_schema_change

t()

@type t() :: %Cerbero.DDL.Effect{
  class: term(),
  cost: term(),
  line: term(),
  lock: term(),
  relations: term(),
  unmapped: term()
}