RedisHelper.py 421 B

12345678910111213141516171819202122232425262728293031
  1. #coding:utf-8
  2. import pymongo
  3. from db.ISqlHelper import ISqlHelper
  4. class RedisHelper(ISqlHelper):
  5. def __init__(self):
  6. pass
  7. def init_db(self):
  8. pass
  9. def drop_db(self):
  10. pass
  11. def insert(self,value):
  12. pass
  13. def delete(self, conditions):
  14. pass
  15. def update(self, conditions,value):
  16. pass
  17. def select(self, count=None,conditions=[]):
  18. pass