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

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


virtual int readTuple
      LockMode mode

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

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