--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Insert a new record into a table, return unique record number.
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*data*:"
    body: Array, Hash, Struct instance containing field values of new record.
  - !ruby/struct:SM::Flow::LI 
    label: "*insert_proc*:"
    body: Proc instance containing insert code. This and the data parameter are mutually exclusive.
  type: :NOTE
full_name: KirbyBase::KBTable#insert
is_singleton: false
name: insert
params: (*data, &insert_proc)
visibility: public
