def insert(self, table_name, record, attr_names=None):
self.insert_many(table_name, records=[record], attr_names=attr_names)<EOL>
Send an INSERT query to the database.

:param str table_name: Table name of executing the query.
:param record: Record to be inserted.
:type record: |dict|/|namedtuple|/|list|/|tuple|
:raises IOError: |raises_write_permission|
:raises simplesqlite.NullDatabaseConnectionError:
    |raises_check_connection|
:raises simplesqlite.OperationalError: |raises_operational_error|

:Example:
    :ref:`example-insert-records`