Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual 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.


virtual int writeTuple

Parameters.  None.

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