'Converts any type into a CQL string, defaulting to ``cql_encode_object``
if :attr:`~Encoder.mapping` does not contain an entry for the type.'

def cql_encode_all_types(self, val):

    return self.mapping.get(type(val), self.cql_encode_object)(val)
