@step(r'<STR_LIT>'<EOL>'<STR_LIT>')<EOL>def _write_models_step_update(self, model, field):
return _write_models_step(self, model, field=field)<EOL>
Update existing models in the database, specifying a column to match on.

Syntax:

    I update `model` by `key` in the database:

Example:

.. code-block:: gherkin

    And I update existing foos by pk in the database:
        | pk | name |
        | 1  | Bar  |

See :func:`writes_models`.