Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint ""

INSERT INTO blog 
  VALUES (1,'AWS Blog1') 
  ON CONFLICT DO NOTHING;
INSERT 0 0
Source by aws.amazon.com #
 
PREVIOUS NEXT
Tagged: #duplicate #key #violates #unique #constraint
ADD COMMENT
Topic
Name
2+2 =