Updated example to get rows directly.