Module: ViewData::PG::Controls::Commands::Update
- Defined in:
- lib/view_data/pg/controls/commands.rb
Class Method Summary collapse
Class Method Details
.example(primary_key: nil, column_value: nil, table: nil) ⇒ Object
20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/view_data/pg/controls/commands.rb', line 20 def self.example(primary_key: nil, column_value: nil, table: nil) primary_key ||= PrimaryKey::UUID.example table ||= Table.name data = Data.example(column_value: column_value) ViewData::Commands::Controls::Update.example( name: table, identifier: primary_key, data: data ) end |