@property
def pieces(self):
    cmd = 'INSERT INTO'
    fields = self._get_field_names()
    stmt = '{0} {1} ({2}) VALUES '.format(cmd, self.table_name, fields)
    for values in self._get_field_values():
        (yield '{} ({});'.format(stmt, ','.join(values)))
@property
def pieces(self):
    cmd = 'INSERT INTO'
    fields = self._get_field_names()
    stmt = '{0} {1} ({2}) VALUES '.format(cmd, self.table_name, fields)
    for values in self._get_field_values():
        (yield '{} ({});'.format(stmt, ','.join(values)))