版本2.2.16在新增的时候,如果主键是自增的,通过什么方式可以获取到那个自增后的id呢?使用的sdk版本是:java #34032
Replies: 5 comments 2 replies
-
那个文档里面现在访问不到了,404了。。。 |
Beta Was this translation helpful? Give feedback.
1 reply
-
insert的result里应该有 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
mmahao
-
new MutationResultWrapper(insert.getData()).getInsertIDs() |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
版本2.2.16在新增的时候,如果主键是自增的,通过什么方式可以获取到那个自增后的id呢?使用的sdk版本是:java
Beta Was this translation helpful? Give feedback.
All reactions