Thomas Wanschik  committed e2f08ac

fixed pk value for the update compiler

  • Participants
  • Parent commits deadd3d
  • Branches default

Comments (0)

Files changed (1)

File db/

     def execute_sql(self, result_type=MULTI):
         # modify query to fetch pks only and then execute the query
         # to get all pks 
-        self.query.add_immediate_loading(['id'])
+        pk =
+        self.query.add_immediate_loading([pk])
         pks = [row for row in self.results_iter()]
         return len(pks)