如何获取 sql error code #736

Open
opened 2017-09-22 09:49:02 +00:00 by mlboy · 1 comment
mlboy commented 2017-09-22 09:49:02 +00:00 (Migrated from github.com)

如何获取 sql error code
比如说主键冲突时候如何获取到 1062 这个码。现在错误返回的只有文本

如何获取 sql error code 比如说主键冲突时候如何获取到 1062 这个码。现在错误返回的只有文本

这个错误码由底层驱动返回,如驱动没有实现则没有。

这个错误码由底层驱动返回,如驱动没有实现则没有。
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: xorm/xorm#736
No description provided.