added support assoc array of key/value pairs in addWhere