{"id":6693504,"date":"2015-10-28T13:13:28","date_gmt":"2015-10-28T13:13:28","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/insert-unique-refrence\/"},"modified":"2016-08-30T19:37:20","modified_gmt":"2016-08-30T19:37:20","slug":"insert-unique-refrence","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/insert-unique-refrence\/","title":{"rendered":"insert unique refrence"},"content":{"rendered":"<p>hello guys,<br \/>\nI want to add unique refrence. before insertion i want that code will search the database that whether this entry exist or not in the earlier code. If it doesn&#8217;t exist that it will add that code in the database. Else it will Be showing an error message.<\/p>\n<p>Thanks<\/p>\n<p>https:\/\/wordpress.org\/plugins\/simple-custom-website-data\/<\/p>\n","protected":false},"template":"","class_list":["post-6693504","topic","type-topic","status-publish","hentry","topic-tag-error-message"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6693504","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6693504\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6693504"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}