Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.3.25.16 NdbOperation::readTuple()

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

Signature. 

virtual int readTuple
    (
      LockMode mode
    )

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

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


User Comments
Sign Up Login You must be logged in to post a comment.