def encode(self, value):
        return ('0','1')[value]
Map value to a mapping representation.
dataset/ETHPy150Open saymedia/python-simpledb/simpledb/models.py/BooleanField.encode--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/yaml_builder.py/Builder.MapTo