sqlite.py 文件源码

python
阅读 32 收藏 0 点赞 0 评论 0

项目:chocolate 作者: AIworx-Labs 项目源码 文件源码
def update_result(self, filter, values):
        """Update or add *values* of given rows in the result table.

        Args:
            filter: An identifier of the rows to update.
            values: A mapping of values to update or add.
        """
        gc.collect()
        filter = filter.copy()
        keys = list(filter.keys())
        filter.update(values)
        db = dataset.connect(self.url)
        return db[self.result_table_name].update(filter, keys)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号