MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / arrayizeValue

Function arrayizeValue

lib/core/common.py:3651–3664  ·  view source on GitHub ↗

Makes a list out of value if it is not already a list or tuple itself >>> arrayizeValue('1') ['1']

(value)

Source from the content-addressed store, hash-verified

3649 raise SqlmapNoneDataException(errMsg)
3650
3651def arrayizeValue(value):
3652 """
3653 Makes a list out of value if it is not already a list or tuple itself
3654
3655 >>> arrayizeValue('1')
3656 ['1']
3657 """
3658
3659 if isinstance(value, _collections.KeysView):
3660 value = [_ for _ in value]
3661 elif not isListLike(value):
3662 value = [value]
3663
3664 return value
3665
3666def unArrayizeValue(value):
3667 """

Callers 10

webInitMethod · 0.90
unionThreadFunction · 0.90
unionUseFunction · 0.90
getDbsMethod · 0.90
getTablesMethod · 0.90
getStatementsMethod · 0.90
searchDbMethod · 0.90
getUsersMethod · 0.90
getTablesMethod · 0.90
intersectFunction · 0.85

Calls 1

isListLikeFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…