In the process of use mybatis to doubt execute SQL return values, conveniently record,
Conclusion:
Insert: insert n records, return line number n, (n> , n=1 0 means that the actual failure of insert)
Update: update n records, return line number n, (n>=0)
Delete: delete n records, return line number n, (n>=0)
CodePudding user response:
https://www.cnblogs.com/ZTPX/p/10552512.htmlCodePudding user response:
Then can I have your points: