Skip to content

原始查询,插入后返回自增ID? #83

Closed Answered by demopark
demopark asked this question in Q&A
Discussion options

You must be logged in to vote

原始查询不会像create等查找器一样自动返回 INSERT 后的数据. 原始查询只会严格按照你输入的SQL语句执行.如果使用原始查询插入数据,需要手动拼写进行结果查询.

Replies: 1 comment

Comment options

demopark
Oct 30, 2023
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by demopark
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant