Ejemplo n.º 1
0
    def get_string_compare(self, value):
        import fn

        return TypedCondition(left=fn.substr(self, 2), op=" LIKE ", right=value)
Ejemplo n.º 2
0
    def __getitem__(self, item):
        import fn

        start, length = get_string_slice(item)
        return fn.substr(self, start, length)