Exemplo n.º 1
0
    def put(self, key, value):
        ''' Put the supplied value at the given key.

        :param key: The key to store the value at
        :param value: The value to store at the key
        '''
        LDB.leveldb_writebatch_put(self.write_batch, key, len(key), value, len(value))
        return self