Commit f6c3370
SK-3061: fix Bulk Insert README's Token snippet to actually iterate the response (#411)
The snippet added when getTokens() was made typed (#408) used `record`
without ever introducing it - it reads as if it stood alone, but record
only exists inside a loop over insertResponse.getRecords(). Wrapped it in
that outer loop (plus a null check, since getTokens() is null on a failed
record), matching the pattern the Bulk Detokenize section's equivalent
metadata snippet already follows.
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>1 parent 454f3ec commit f6c3370
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
485 | 485 | | |
486 | 486 | | |
487 | 487 | | |
488 | | - | |
489 | | - | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
490 | 494 | | |
491 | 495 | | |
492 | 496 | | |
| |||
0 commit comments