duplicate error? #1209

Open
opened 2019-01-24 03:44:50 +00:00 by FelixSeptem · 0 comments
FelixSeptem commented 2019-01-24 03:44:50 +00:00 (Migrated from github.com)

在有unique索引的情况下,如何区分出duplicateErr和其他的mysql error,类似err==xorm.ErrNotExist

在有unique索引的情况下,如何区分出duplicateErr和其他的mysql error,类似`err==xorm.ErrNotExist`?
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#1209
No description provided.