Description

IsConflictErr returns true if the error is non-nil and the query failed due to a duplicate primary key.