comparison src/memory/sqlite.py @ 1455:4fb3280c4568

tmp (wokkel.rsm): use of super instead of direct call in PubSubRequest
author Goffi <goffi@goffi.org>
date Sat, 15 Aug 2015 22:24:40 +0200
parents 3265a2639182
children 3765e10ec52f
comparison
equal deleted inserted replaced
1454:4e2fab4de195 1455:4fb3280c4568
719 } 719 }
720 720
721 @defer.inlineCallbacks 721 @defer.inlineCallbacks
722 def update2raw(self, update, dev_version=False): 722 def update2raw(self, update, dev_version=False):
723 """ Transform update data to raw SQLite statements 723 """ Transform update data to raw SQLite statements
724 @param upadte: update data as returned by generateUpdateData 724 @param update: update data as returned by generateUpdateData
725 @param dev_version: if True, update will be done in dev mode: no deletion will be done, instead a message will be shown. This prevent accidental lost of data while working on the code/database. 725 @param dev_version: if True, update will be done in dev mode: no deletion will be done, instead a message will be shown. This prevent accidental lost of data while working on the code/database.
726 @return: list of string with SQL statements needed to update the base 726 @return: list of string with SQL statements needed to update the base
727 727
728 """ 728 """
729 ret = self.createData2Raw(update.get('create', {})) 729 ret = self.createData2Raw(update.get('create', {}))