2 Answers
- Newest
- Most votes
- Most comments
0
For anyone who comes across this: the generated AUTO_INCREMENT ID is returned in the generatedFields section of the ExecuteStatement response (i.e. generatedFields[0].longValue). That works fine for my needs.
answered 4 years ago
0
CAREFUL! The generatedFields will always only contain the FIRST inserted id even though you might have inserted 500 rows.
answered 2 years ago
Relevant content
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago