def insert_result(self, document):
"""Insert a new *document* in the result table. The columns must not
be defined nor all present. Any new column will be added to the
database and any missing column will get value None.
"""
gc.collect()
db = dataset.connect(self.url)
return db[self.result_table_name].insert(document)
评论列表
文章目录