Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual NdbIndexOperation::readTuple()

Description.  This method defines the NdbIndexOperation as a READ operation. When the NdbTransaction::execute() method is invoked, the operation reads a tuple.


int readTuple
      LockMode mode

Parameters.  mode specifies the locking mode used by the read operation. See Section, “NdbOperation::LockMode”, for possible values.

Return value.  0 on success, -1 on failure.