Exemplo n.º 1
0
    def seek(self, key):
        ''' Move to the specified key in the database.

        :param key: The key in the database to move to.
        '''
        LDB.leveldb_iter_seek(self.iterator, key, len(key))
        self.assert_no_error()
        return self