Esempio n. 1
0
 def delete(self):
     db_sql.session.delete(self)
     db_sql.session.flush()
     db0.delete(ConstDB.app + hexlify(self.app_eui).decode())
     db_sql.session.commit()
Esempio n. 2
0
 def delete_mac_info(self):
     db0.delete(ConstDB.dev_info + hexlify(self.dev_eui).decode())
Esempio n. 3
0
 def clear(self):
     return db0.delete(ConstDB.que_down + self.key)