Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual NdbBlob::getValue()

Description.  Use this method to prepare to read a blob value; the value is available following invocation. Use getNull() to check for a NULL value; use getLength() to get the actual length of the blob, and to check for truncation. getValue() sets the current read/write position to the point following the end of the data which was read.


int getValue
      void*  data,
      Uint32 bytes

Parameters.  This method takes two parameters. The first of these is a pointer to the data to be read; the second is the number of bytes to be read.

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

User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.