setRow method

void setRow(
  1. String table,
  2. Map<String, dynamic> row
)

Sets a whole row of data at once (the Map's keys are variable names; supports the 'table.field' format)

Implementation

void setRow(String table, Map<String, dynamic> row) {
  row.forEach((k, v) {
    _p.setVar("$table.$k", v); // em.eno, em.ename, ...
    _p.setVar(k, v); // also sets the short name eno, ename, ...
  });
}