MCPcopy Create free account
hub / github.com/ActiveState/code / Like

Class Like

recipes/Python/577825_Rudimentary_Database_Engine/recipe-577825.py:967–975  ·  view source on GitHub ↗

Like(column, pattern, flags=IGNORECASE, advanced=False) -> Like

Source from the content-addressed store, hash-verified

965################################################################################
966
967class Like(NotLike):
968
969 "Like(column, pattern, flags=IGNORECASE, advanced=False) -> Like"
970
971 __slots__ = _slots()
972
973 def __call__(self, row):
974 "Reverses the result from calling a NotLike instance."
975 return not super().__call__(row)
976
977################################################################################
978

Callers 1

test_row_selectionFunction · 0.70

Calls 1

_slotsFunction · 0.85

Tested by 1

test_row_selectionFunction · 0.56