'Return the string to use in a query when performing lookups
("contains", "like", etc.). It should contain a \'%s\' placeholder for
the column being searched against.'

def lookup_cast(self, lookup_type, internal_type=None):

    return '%s'
