{"id":20730,"date":"2025-11-07T16:46:46","date_gmt":"2025-11-07T11:16:46","guid":{"rendered":"https:\/\/vinish.dev\/?p=20730"},"modified":"2025-11-07T16:46:47","modified_gmt":"2025-11-07T11:16:47","slug":"oracle-nullif-function","status":"publish","type":"post","link":"https:\/\/vinish.dev\/oracle-nullif-function","title":{"rendered":"Oracle NULLIF Function: A Simple Guide"},"content":{"rendered":"\n<p>The <code>NULLIF<\/code> function in Oracle SQL is a simple but powerful control-flow function. It compares two expressions. If they are <strong>equal<\/strong>, it returns <code>NULL<\/code>. If they are <strong>not equal<\/strong>, it returns the first expression.<\/p>\n\n\n\n<p>This function is most famously used as an elegant way to <strong>prevent \"division by zero\" errors<\/strong> in calculations.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is the NULLIF Function in Oracle?<\/h2>\n\n\n\n<p>The <code>NULLIF(expr1, expr2)<\/code> function is a concise way to write a <a href=\"https:\/\/vinish.dev\/case-in-oracle-23ai-pl-sql\">CASE statement<\/a>.<\/p>\n\n\n\n<p>It is logically identical to this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>CASE \n  WHEN expr1 = expr2 THEN NULL \n  ELSE expr1 \nEND\n<\/code><\/pre>\n\n\n\n<p>This is very useful when you want to \"nullify\" a value if it matches a specific, known value. For example, you might want to treat the number <code>0<\/code> or the string <code>'N\/A'<\/code> as <code>NULL<\/code> in your query.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">NULLIF Function Syntax<\/h2>\n\n\n\n<p>The syntax for <code>NULLIF<\/code> requires two arguments:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>NULLIF(expr1, expr2)\n<\/code><\/pre>\n\n\n\n<p>Let's break that down:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><code>expr1<\/code><\/strong>: The first expression or value. This is the value that will be <strong>returned<\/strong> if the comparison is <em>false<\/em>. You cannot use the literal <code>NULL<\/code> here.<\/li>\n\n\n\n<li><strong><code>expr2<\/code><\/strong>: The second expression or value. This is the value you are comparing against <code>expr1<\/code>.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Oracle NULLIF Function Examples<\/h2>\n\n\n\n<p>Here are two practical examples of how to use <code>NULLIF<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Example 1: Preventing a \"Division by Zero\" Error using NULLIF<\/h3>\n\n\n\n<p>This is the classic use case for <code>NULLIF<\/code>. Imagine you have a table <code>inventory<\/code> and you want to calculate the <code>cost_per_item<\/code> by dividing <code>total_cost<\/code> by <code>quantity_on_hand<\/code>.<\/p>\n\n\n\n<p>If <code>quantity_on_hand<\/code> is <code>0<\/code>, your query will crash with an <code>ORA-01476: divisor is equal to zero<\/code> error.<\/p>\n\n\n\n<p><code>NULLIF<\/code> can fix this. By writing <code>NULLIF(quantity_on_hand, 0)<\/code>, you are telling Oracle: \"If the quantity is 0, replace it with <code>NULL<\/code>.\" Since dividing by <code>NULL<\/code> just results in <code>NULL<\/code> (not an error), your query can run safely.<\/p>\n\n\n\n<p><strong>Query:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>-- This query simulates an inventory table\nWITH inventory AS (\n  SELECT 'Product A' AS product, 1000 AS total_cost, 50 AS quantity FROM DUAL UNION ALL\n  SELECT 'Product B' AS product, 750 AS total_cost, 0 AS quantity FROM DUAL\n)\nSELECT\n  product,\n  total_cost \/ NULLIF(quantity, 0) AS \"Cost_Per_Item\"\nFROM inventory;\n<\/code><\/pre>\n\n\n\n<p><strong>Result:<\/strong> <em>(The division for 'Product B' results in NULL instead of an error)<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>PRODUCT   Cost_Per_Item\n--------- -------------\nProduct A            20\nProduct B        (NULL)\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Example 2: Replacing a \"Default\" String with NULL using NULLIF<\/h3>\n\n\n\n<p>Sometimes, an application will store a \"default\" string like <code>'N\/A'<\/code> or <code>'(empty)'<\/code> in a column instead of <code>NULL<\/code>. <code>NULLIF<\/code> is the perfect tool to clean this up in your query.<\/p>\n\n\n\n<p><strong>Query:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>-- This query simulates a user_profiles table\nWITH user_profiles AS (\n  SELECT 'Alice' AS user_name, '555-1234' AS phone FROM DUAL UNION ALL\n  SELECT 'Bob' AS user_name, 'N\/A' AS phone FROM DUAL\n)\nSELECT\n  user_name,\n  NULLIF(phone, 'N\/A') AS \"Cleaned_Phone\"\nFROM user_profiles;\n<\/code><\/pre>\n\n\n\n<p><strong>Result:<\/strong> <em>(The 'N\/A' string for Bob is converted to <code>NULL<\/code>)<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>USER_NAME Cleaned_Phone\n--------- -------------\nAlice     555-1234\nBob       (NULL)\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>The NULLIF function in Oracle SQL is a simple but powerful control-flow function. It compares two expressions. If they are equal, it returns NULL. If they are not equal, it returns the first expression. This function is most famously used as an elegant way to prevent \"division by zero\" errors in calculations. What is the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1833,1807],"tags":[1822],"class_list":["post-20730","post","type-post","status-publish","format-standard","hentry","category-null-function","category-oracle-sql","tag-ai-assisted"],"blocksy_meta":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Oracle NULLIF function &#8226; Vinish.Dev<\/title>\n<meta name=\"description\" content=\"Learn the Oracle NULLIF function. This simple SQL guide explains how to return NULL if two expressions are equal, with easy-to-follow examples.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vinish.dev\/oracle-nullif-function\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Oracle NULLIF function &#8226; Vinish.Dev\" \/>\n<meta property=\"og:description\" content=\"Learn the Oracle NULLIF function. This simple SQL guide explains how to return NULL if two expressions are equal, with easy-to-follow examples.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vinish.dev\/oracle-nullif-function\" \/>\n<meta property=\"og:site_name\" content=\"Vinish.Dev\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/foxinfotech2014\" \/>\n<meta property=\"article:published_time\" content=\"2025-11-07T11:16:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-07T11:16:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/vinish.dev\/wp-content\/uploads\/2024\/09\/homepage-vinish.dev_.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"693\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Vinish Kapoor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/x.com\/vinish_kapoor\" \/>\n<meta name=\"twitter:site\" content=\"@foxinfotech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Vinish Kapoor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/vinish.dev\\\/oracle-nullif-function#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vinish.dev\\\/oracle-nullif-function\"},\"author\":{\"name\":\"Vinish Kapoor\",\"@id\":\"https:\\\/\\\/vinish.dev\\\/#\\\/schema\\\/person\\\/a7790479716d2a54131ca873f8483d3f\"},\"headline\":\"Oracle NULLIF Function: A Simple Guide\",\"datePublished\":\"2025-11-07T11:16:46+00:00\",\"dateModified\":\"2025-11-07T11:16:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/vinish.dev\\\/oracle-nullif-function\"},\"wordCount\":307,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/vinish.dev\\\/#\\\/schema\\\/person\\\/df5e5ca816f6f4302efc03cf58dc97b4\"},\"keywords\":[\"AI-Assisted\"],\"articleSection\":[\"NULL Function\",\"Oracle SQL\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/vinish.dev\\\/oracle-nullif-function#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vinish.dev\\\/oracle-nullif-function\",\"url\":\"https:\\\/\\\/vinish.dev\\\/oracle-nullif-function\",\"name\":\"Oracle NULLIF function &#8226; Vinish.Dev\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vinish.dev\\\/#website\"},\"datePublished\":\"2025-11-07T11:16:46+00:00\",\"dateModified\":\"2025-11-07T11:16:47+00:00\",\"description\":\"Learn the Oracle NULLIF function. This simple SQL guide explains how to return NULL if two expressions are equal, with easy-to-follow examples.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vinish.dev\\\/oracle-nullif-function#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vinish.dev\\\/oracle-nullif-function\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vinish.dev\\\/oracle-nullif-function#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vinish.dev\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Oracle SQL\",\"item\":\"https:\\\/\\\/vinish.dev\\\/category\\\/oracle-sql\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"NULL Function\",\"item\":\"https:\\\/\\\/vinish.dev\\\/category\\\/oracle-sql\\\/null-function\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Oracle NULLIF Function: A Simple Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vinish.dev\\\/#website\",\"url\":\"https:\\\/\\\/vinish.dev\\\/\",\"name\":\"Vinish.Dev\",\"description\":\"Vinish Kapoor&#039;s Blog: Best Oracle Blog for Developers\",\"publisher\":{\"@id\":\"https:\\\/\\\/vinish.dev\\\/#\\\/schema\\\/person\\\/df5e5ca816f6f4302efc03cf58dc97b4\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vinish.dev\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/vinish.dev\\\/#\\\/schema\\\/person\\\/df5e5ca816f6f4302efc03cf58dc97b4\",\"name\":\"Vinish Kapoor\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vinish.dev\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/vinishprofile.png\",\"url\":\"https:\\\/\\\/vinish.dev\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/vinishprofile.png\",\"contentUrl\":\"https:\\\/\\\/vinish.dev\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/vinishprofile.png\",\"width\":192,\"height\":192,\"caption\":\"Vinish Kapoor\"},\"logo\":{\"@id\":\"https:\\\/\\\/vinish.dev\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/vinishprofile.png\"},\"description\":\"Vinish Kapoor is a seasoned software development professional and a fervent enthusiast of artificial intelligence (AI). His impressive career spans over 25+ years, marked by a relentless pursuit of innovation and excellence in the field of information technology. As an Oracle ACE, Vinish has distinguished himself as a leading expert in Oracle technologies, a title awarded to individuals who have demonstrated their deep commitment, leadership, and expertise in the Oracle community.\",\"sameAs\":[\"https:\\\/\\\/vinish.dev\\\/\",\"https:\\\/\\\/www.facebook.com\\\/foxinfotech2014\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/vinish-kapoor\\\/\",\"https:\\\/\\\/x.com\\\/foxinfotech\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/vinish.dev\\\/#\\\/schema\\\/person\\\/a7790479716d2a54131ca873f8483d3f\",\"name\":\"Vinish Kapoor\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a67232caa79b11f24f16c371866a96cfb575e011ebda6fa6e3d088a837a31bde?s=96&d=identicon&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a67232caa79b11f24f16c371866a96cfb575e011ebda6fa6e3d088a837a31bde?s=96&d=identicon&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a67232caa79b11f24f16c371866a96cfb575e011ebda6fa6e3d088a837a31bde?s=96&d=identicon&r=g\",\"caption\":\"Vinish Kapoor\"},\"description\":\"Vinish Kapoor is a seasoned software development professional and a fervent enthusiast of artificial intelligence (AI). His impressive career spans over 25+ years, marked by a relentless pursuit of innovation and excellence in the field of information technology. As an Oracle ACE, Vinish has distinguished himself as a leading expert in Oracle technologies, a title awarded to individuals who have demonstrated their deep commitment, leadership, and expertise in the Oracle community.\",\"sameAs\":[\"https:\\\/\\\/vinish.dev\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/vinish-kapoor\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/x.com\\\/vinish_kapoor\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Oracle NULLIF function &#8226; Vinish.Dev","description":"Learn the Oracle NULLIF function. This simple SQL guide explains how to return NULL if two expressions are equal, with easy-to-follow examples.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vinish.dev\/oracle-nullif-function","og_locale":"en_US","og_type":"article","og_title":"Oracle NULLIF function &#8226; Vinish.Dev","og_description":"Learn the Oracle NULLIF function. This simple SQL guide explains how to return NULL if two expressions are equal, with easy-to-follow examples.","og_url":"https:\/\/vinish.dev\/oracle-nullif-function","og_site_name":"Vinish.Dev","article_publisher":"https:\/\/www.facebook.com\/foxinfotech2014","article_published_time":"2025-11-07T11:16:46+00:00","article_modified_time":"2025-11-07T11:16:47+00:00","og_image":[{"width":1200,"height":693,"url":"https:\/\/vinish.dev\/wp-content\/uploads\/2024\/09\/homepage-vinish.dev_.png","type":"image\/png"}],"author":"Vinish Kapoor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/x.com\/vinish_kapoor","twitter_site":"@foxinfotech","twitter_misc":{"Written by":"Vinish Kapoor","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/vinish.dev\/oracle-nullif-function#article","isPartOf":{"@id":"https:\/\/vinish.dev\/oracle-nullif-function"},"author":{"name":"Vinish Kapoor","@id":"https:\/\/vinish.dev\/#\/schema\/person\/a7790479716d2a54131ca873f8483d3f"},"headline":"Oracle NULLIF Function: A Simple Guide","datePublished":"2025-11-07T11:16:46+00:00","dateModified":"2025-11-07T11:16:47+00:00","mainEntityOfPage":{"@id":"https:\/\/vinish.dev\/oracle-nullif-function"},"wordCount":307,"commentCount":0,"publisher":{"@id":"https:\/\/vinish.dev\/#\/schema\/person\/df5e5ca816f6f4302efc03cf58dc97b4"},"keywords":["AI-Assisted"],"articleSection":["NULL Function","Oracle SQL"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/vinish.dev\/oracle-nullif-function#respond"]}]},{"@type":"WebPage","@id":"https:\/\/vinish.dev\/oracle-nullif-function","url":"https:\/\/vinish.dev\/oracle-nullif-function","name":"Oracle NULLIF function &#8226; Vinish.Dev","isPartOf":{"@id":"https:\/\/vinish.dev\/#website"},"datePublished":"2025-11-07T11:16:46+00:00","dateModified":"2025-11-07T11:16:47+00:00","description":"Learn the Oracle NULLIF function. This simple SQL guide explains how to return NULL if two expressions are equal, with easy-to-follow examples.","breadcrumb":{"@id":"https:\/\/vinish.dev\/oracle-nullif-function#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vinish.dev\/oracle-nullif-function"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/vinish.dev\/oracle-nullif-function#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vinish.dev\/"},{"@type":"ListItem","position":2,"name":"Oracle SQL","item":"https:\/\/vinish.dev\/category\/oracle-sql"},{"@type":"ListItem","position":3,"name":"NULL Function","item":"https:\/\/vinish.dev\/category\/oracle-sql\/null-function"},{"@type":"ListItem","position":4,"name":"Oracle NULLIF Function: A Simple Guide"}]},{"@type":"WebSite","@id":"https:\/\/vinish.dev\/#website","url":"https:\/\/vinish.dev\/","name":"Vinish.Dev","description":"Vinish Kapoor&#039;s Blog: Best Oracle Blog for Developers","publisher":{"@id":"https:\/\/vinish.dev\/#\/schema\/person\/df5e5ca816f6f4302efc03cf58dc97b4"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vinish.dev\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/vinish.dev\/#\/schema\/person\/df5e5ca816f6f4302efc03cf58dc97b4","name":"Vinish Kapoor","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vinish.dev\/wp-content\/uploads\/2023\/12\/vinishprofile.png","url":"https:\/\/vinish.dev\/wp-content\/uploads\/2023\/12\/vinishprofile.png","contentUrl":"https:\/\/vinish.dev\/wp-content\/uploads\/2023\/12\/vinishprofile.png","width":192,"height":192,"caption":"Vinish Kapoor"},"logo":{"@id":"https:\/\/vinish.dev\/wp-content\/uploads\/2023\/12\/vinishprofile.png"},"description":"Vinish Kapoor is a seasoned software development professional and a fervent enthusiast of artificial intelligence (AI). His impressive career spans over 25+ years, marked by a relentless pursuit of innovation and excellence in the field of information technology. As an Oracle ACE, Vinish has distinguished himself as a leading expert in Oracle technologies, a title awarded to individuals who have demonstrated their deep commitment, leadership, and expertise in the Oracle community.","sameAs":["https:\/\/vinish.dev\/","https:\/\/www.facebook.com\/foxinfotech2014","https:\/\/www.linkedin.com\/in\/vinish-kapoor\/","https:\/\/x.com\/foxinfotech"]},{"@type":"Person","@id":"https:\/\/vinish.dev\/#\/schema\/person\/a7790479716d2a54131ca873f8483d3f","name":"Vinish Kapoor","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/a67232caa79b11f24f16c371866a96cfb575e011ebda6fa6e3d088a837a31bde?s=96&d=identicon&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/a67232caa79b11f24f16c371866a96cfb575e011ebda6fa6e3d088a837a31bde?s=96&d=identicon&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a67232caa79b11f24f16c371866a96cfb575e011ebda6fa6e3d088a837a31bde?s=96&d=identicon&r=g","caption":"Vinish Kapoor"},"description":"Vinish Kapoor is a seasoned software development professional and a fervent enthusiast of artificial intelligence (AI). His impressive career spans over 25+ years, marked by a relentless pursuit of innovation and excellence in the field of information technology. As an Oracle ACE, Vinish has distinguished himself as a leading expert in Oracle technologies, a title awarded to individuals who have demonstrated their deep commitment, leadership, and expertise in the Oracle community.","sameAs":["https:\/\/vinish.dev\/","https:\/\/www.linkedin.com\/in\/vinish-kapoor\/","https:\/\/x.com\/https:\/\/x.com\/vinish_kapoor"]}]}},"_links":{"self":[{"href":"https:\/\/vinish.dev\/wp-json\/wp\/v2\/posts\/20730","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vinish.dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vinish.dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vinish.dev\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vinish.dev\/wp-json\/wp\/v2\/comments?post=20730"}],"version-history":[{"count":1,"href":"https:\/\/vinish.dev\/wp-json\/wp\/v2\/posts\/20730\/revisions"}],"predecessor-version":[{"id":20731,"href":"https:\/\/vinish.dev\/wp-json\/wp\/v2\/posts\/20730\/revisions\/20731"}],"wp:attachment":[{"href":"https:\/\/vinish.dev\/wp-json\/wp\/v2\/media?parent=20730"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vinish.dev\/wp-json\/wp\/v2\/categories?post=20730"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vinish.dev\/wp-json\/wp\/v2\/tags?post=20730"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}