@classmethod<EOL><INDENT>def to_records(cls, attr_names, value_matrix):<DEDENT>
return [cls.to_record(attr_names, record) for record in value_matrix]<EOL>
Convert a value matrix to records to be inserted into a database.

:param list attr_names:
    List of attributes for the converting records.
:param value_matrix: Values to be converted.
:type value_matrix: list of |dict|/|namedtuple|/|list|/|tuple|

.. seealso:: :py:meth:`.to_record`