2.4 NDB API Examples

2.4.1 Using Synchronous Transactions
2.4.2 Using Synchronous Transactions and Multiple Clusters
2.4.3 Handling Errors and Retrying Transactions
2.4.4 Basic Scanning Example
2.4.5 Using Secondary Indexes in Scans
2.4.6 Using NdbRecord with Hash Indexes
2.4.7 Comparing RecAttr and NdbRecord
2.4.8 NDB API Event Handling Example
2.4.9 Basic BLOB Handling Example
2.4.10 Handling BLOBs Using NdbRecord

This section provides code examples illustrating how to accomplish some basic tasks using the NDB API.

All of these examples can be compiled and run as provided, and produce sample output to demonstrate their effects.