Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.3.25.19 NdbOperation::writeTuple()

Description.  This method defines the NdbOperation as a WRITE operation. When the NdbTransaction::execute() method is invoked, the operation writes a tuple to the table. If the tuple already exists, it is updated; otherwise an insert takes place.

Signature. 

virtual int writeTuple
    (
      void
    )

Parameters.  None.

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


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