@staticmethod
def getWhereData(where):
    """where = None or where is str or where is dict like :{'name=':'testName', 'age>':18}
		"""
    if where is None:
        return '', None
    elif isinstance(where, dict):
        wStr = 'WHERE '
        wData = []
        count = 0
        for k, v in where.items():
            wStr += (count != 0 and 'AND ' or '') + k + '(?) '
            wData.append(v)
            count += 1
        return wStr, wData
    elif isinstance(where, str):
        if where.lower().lstrip().find('where ') != 0:
            where = 'WHERE ' + where
        return where, None
