module ViewData::PG::Controls::Commands::Delete

Public Class Methods

example(primary_key: nil, table: nil) click to toggle source
# File lib/view_data/pg/controls/commands.rb, line 34
def self.example(primary_key: nil, table: nil)
  primary_key ||= PrimaryKey::UUID.example
  table ||= Table.name

  ViewData::Commands::Controls::Delete.example(
    name: table,
    identifier: primary_key
  )
end