{"id":56112,"date":"2024-04-18T19:34:25","date_gmt":"2024-04-18T19:34:25","guid":{"rendered":"https:\/\/dbtut.com\/?p=56112"},"modified":"2024-04-18T19:41:38","modified_gmt":"2024-04-18T19:41:38","slug":"postgresql-functions","status":"publish","type":"post","link":"https:\/\/dbtut.com\/index.php\/2024\/04\/18\/postgresql-functions\/","title":{"rendered":"PostgreSQL Functions"},"content":{"rendered":"<p>In this section, we will understand the operation of PostgreSQL functions and learn how to use the function.<\/p>\n<p>Like operations in programming languages, user-defined operations in PostgreSQL are plpgsql commands that accept parameters, perform an operation such as a complex calculation, and return the result of this operation as a value.<\/p>\n<p>The return value can be a single scaler value or a result set.<\/p>\n<p>In functions, unlike procedures, call is called as the select function name, not as &#8220;select*from view_adi&#8221;.<\/p>\n<p>For example, let&#8217;s write a function called &#8220;sayitoplama&#8221; that gives the sum of two numbers entered as parameters.<\/p>\n<pre class=\"lang:default decode:true \">create function sayitoplama(sayi1 int,sayi2 int)\r\nreturns integer\r\nlanguage plpgsql \r\nas\r\n$$\r\ndeclare \r\nsonuc integer;\r\nbegin \r\nsonuc:=sayi1+sayi2;\r\nreturn sonuc;\r\nend;\r\n$$;<\/pre>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/www.farukerdem.com\/wp-content\/uploads\/2021\/01\/functionpostgres.png\" \/><\/p>\n<p>Let&#8217;s talk a little about our function mentioned above.<\/p>\n<pre class=\"lang:default decode:true \">create function sayitoplama(sayi1 int,sayi2 int)\r\nreturns integer\r\nlanguage plpgsql \r\nas\r\n$$\r\ndeclare \r\nsonuc integer;\r\nbegin \r\nsonuc:=sayi1+sayi2;\r\nreturn sonuc;\r\nend;\r\n$$;<\/pre>\n<p><strong>create function sayitoplama(sayi1 int, sayi2 int):<\/strong> After the create function, we enter the function name and the variable names given in parentheses and the data types of these variables.<\/p>\n<p><strong>returns integer:<\/strong> We write the data type that will be returned as a result of the function.<\/p>\n<p><strong>language plpgsql:<\/strong> We select the language to be used in the function.<\/p>\n<p><strong>declare:<\/strong> In this section, we enter the variable name and data type that we will use in the function.<\/p>\n<p><strong>begin-end:<\/strong> We write the necessary plpgsql commands for the operations to be performed between the begin-end block.<\/p>\n<p>Let&#8217;s write a function that converts the values entered in uppercase letters to lowercase letters and the letters containing &#8220;\u0131,\u015f,\u00e7,\u00f6,\u011f,\u00fc&#8221; into &#8220;i,\u015f,\u00f6,g,u&#8221; respectively.<\/p>\n<pre class=\"lang:default decode:true\">CREATE OR REPLACE FUNCTION TR_karakter ( metin VARCHAR(100) )\r\nRETURNS VARCHAR(100)\r\nLANGUAGE plpgsql\r\nAS\r\n$$\r\nDECLARE\r\nd2 VARCHAR(100);\r\nBEGIN\r\n    d2 =metin;\r\n    d2 = LOWER(d2);\r\n     d2 = REPLACE(d2,'\u0131','i');\r\n     d2 = REPLACE(d2,'\u015f','s');\r\n     d2 = REPLACE(d2,'\u00e7','c');\r\n     d2 = REPLACE(d2,'\u00f6','o');\r\n     d2 = REPLACE(d2,'\u011f','g');\r\n     d2 = REPLACE(d2,'\u00fc','u');\r\n    return (d2);\r\nEND<\/pre>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_56112\" class=\"pvc_stats all  \" data-element-id=\"56112\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/dbtut.com\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In this section, we will understand the operation of PostgreSQL functions and learn how to use the function. Like operations in programming languages, user-defined operations in PostgreSQL are plpgsql commands that accept parameters, perform an operation such as a complex calculation, and return the result of this operation as a value. The return value can &hellip;<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_56112\" class=\"pvc_stats all  \" data-element-id=\"56112\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/dbtut.com\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":366,"featured_media":56114,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-56112","post","type-post","status-publish","format-standard","has-post-thumbnail","","category-postgres"],"aioseo_notices":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>PostgreSQL Functions - Database Tutorials<\/title>\n<meta name=\"description\" content=\"In this section, we will understand the operation of PostgreSQL functions and learn how to use the function.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dbtut.com\/index.php\/2024\/04\/18\/postgresql-functions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PostgreSQL Functions - Database Tutorials\" \/>\n<meta property=\"og:description\" content=\"In this section, we will understand the operation of PostgreSQL functions and learn how to use the function.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dbtut.com\/index.php\/2024\/04\/18\/postgresql-functions\/\" \/>\n<meta property=\"og:site_name\" content=\"Database Tutorials\" \/>\n<meta property=\"article:published_time\" content=\"2024-04-18T19:34:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-18T19:41:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/dbtut.com\/wp-content\/uploads\/2024\/04\/Ekran-goruntusu-2024-04-18-223236.png\" \/>\n\t<meta property=\"og:image:width\" content=\"601\" \/>\n\t<meta property=\"og:image:height\" content=\"311\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Faruk Erdem\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Faruk Erdem\" \/>\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:\/\/dbtut.com\/index.php\/2024\/04\/18\/postgresql-functions\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2024\/04\/18\/postgresql-functions\/\"},\"author\":{\"name\":\"Faruk Erdem\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/a7dfc5684c116e536b4e93ee214ccbfb\"},\"headline\":\"PostgreSQL Functions\",\"datePublished\":\"2024-04-18T19:34:25+00:00\",\"dateModified\":\"2024-04-18T19:41:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2024\/04\/18\/postgresql-functions\/\"},\"wordCount\":230,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/dbtut.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2024\/04\/18\/postgresql-functions\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2024\/04\/Ekran-goruntusu-2024-04-18-223236.png\",\"articleSection\":[\"PostgreSQL\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/dbtut.com\/index.php\/2024\/04\/18\/postgresql-functions\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2024\/04\/18\/postgresql-functions\/\",\"url\":\"https:\/\/dbtut.com\/index.php\/2024\/04\/18\/postgresql-functions\/\",\"name\":\"PostgreSQL Functions - Database Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/dbtut.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2024\/04\/18\/postgresql-functions\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2024\/04\/18\/postgresql-functions\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2024\/04\/Ekran-goruntusu-2024-04-18-223236.png\",\"datePublished\":\"2024-04-18T19:34:25+00:00\",\"dateModified\":\"2024-04-18T19:41:38+00:00\",\"description\":\"In this section, we will understand the operation of PostgreSQL functions and learn how to use the function.\",\"breadcrumb\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2024\/04\/18\/postgresql-functions\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/dbtut.com\/index.php\/2024\/04\/18\/postgresql-functions\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2024\/04\/18\/postgresql-functions\/#primaryimage\",\"url\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2024\/04\/Ekran-goruntusu-2024-04-18-223236.png\",\"contentUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2024\/04\/Ekran-goruntusu-2024-04-18-223236.png\",\"width\":601,\"height\":311},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2024\/04\/18\/postgresql-functions\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/dbtut.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PostgreSQL Functions\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/dbtut.com\/#website\",\"url\":\"https:\/\/dbtut.com\/\",\"name\":\"Database Tutorials\",\"description\":\"MSSQL, Oracle, PostgreSQL, MySQL, MariaDB, DB2, Sybase, Teradata, Big Data, NOSQL, MongoDB, Couchbase, Cassandra, Windows, Linux\",\"publisher\":{\"@id\":\"https:\/\/dbtut.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/dbtut.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/dbtut.com\/#organization\",\"name\":\"dbtut\",\"url\":\"https:\/\/dbtut.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg\",\"contentUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg\",\"width\":223,\"height\":36,\"caption\":\"dbtut\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/a7dfc5684c116e536b4e93ee214ccbfb\",\"name\":\"Faruk Erdem\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ad1e61fb5a7c9a590e765f7cad8f2dc8332090f1ceb9a5ee2aa95c69213f0c50?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ad1e61fb5a7c9a590e765f7cad8f2dc8332090f1ceb9a5ee2aa95c69213f0c50?s=96&d=mm&r=g\",\"caption\":\"Faruk Erdem\"},\"url\":\"https:\/\/dbtut.com\/index.php\/author\/farukerdem\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PostgreSQL Functions - Database Tutorials","description":"In this section, we will understand the operation of PostgreSQL functions and learn how to use the function.","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:\/\/dbtut.com\/index.php\/2024\/04\/18\/postgresql-functions\/","og_locale":"en_US","og_type":"article","og_title":"PostgreSQL Functions - Database Tutorials","og_description":"In this section, we will understand the operation of PostgreSQL functions and learn how to use the function.","og_url":"https:\/\/dbtut.com\/index.php\/2024\/04\/18\/postgresql-functions\/","og_site_name":"Database Tutorials","article_published_time":"2024-04-18T19:34:25+00:00","article_modified_time":"2024-04-18T19:41:38+00:00","og_image":[{"width":601,"height":311,"url":"https:\/\/dbtut.com\/wp-content\/uploads\/2024\/04\/Ekran-goruntusu-2024-04-18-223236.png","type":"image\/png"}],"author":"Faruk Erdem","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Faruk Erdem","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/dbtut.com\/index.php\/2024\/04\/18\/postgresql-functions\/#article","isPartOf":{"@id":"https:\/\/dbtut.com\/index.php\/2024\/04\/18\/postgresql-functions\/"},"author":{"name":"Faruk Erdem","@id":"https:\/\/dbtut.com\/#\/schema\/person\/a7dfc5684c116e536b4e93ee214ccbfb"},"headline":"PostgreSQL Functions","datePublished":"2024-04-18T19:34:25+00:00","dateModified":"2024-04-18T19:41:38+00:00","mainEntityOfPage":{"@id":"https:\/\/dbtut.com\/index.php\/2024\/04\/18\/postgresql-functions\/"},"wordCount":230,"commentCount":0,"publisher":{"@id":"https:\/\/dbtut.com\/#organization"},"image":{"@id":"https:\/\/dbtut.com\/index.php\/2024\/04\/18\/postgresql-functions\/#primaryimage"},"thumbnailUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2024\/04\/Ekran-goruntusu-2024-04-18-223236.png","articleSection":["PostgreSQL"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/dbtut.com\/index.php\/2024\/04\/18\/postgresql-functions\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/dbtut.com\/index.php\/2024\/04\/18\/postgresql-functions\/","url":"https:\/\/dbtut.com\/index.php\/2024\/04\/18\/postgresql-functions\/","name":"PostgreSQL Functions - Database Tutorials","isPartOf":{"@id":"https:\/\/dbtut.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/dbtut.com\/index.php\/2024\/04\/18\/postgresql-functions\/#primaryimage"},"image":{"@id":"https:\/\/dbtut.com\/index.php\/2024\/04\/18\/postgresql-functions\/#primaryimage"},"thumbnailUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2024\/04\/Ekran-goruntusu-2024-04-18-223236.png","datePublished":"2024-04-18T19:34:25+00:00","dateModified":"2024-04-18T19:41:38+00:00","description":"In this section, we will understand the operation of PostgreSQL functions and learn how to use the function.","breadcrumb":{"@id":"https:\/\/dbtut.com\/index.php\/2024\/04\/18\/postgresql-functions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dbtut.com\/index.php\/2024\/04\/18\/postgresql-functions\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/index.php\/2024\/04\/18\/postgresql-functions\/#primaryimage","url":"https:\/\/dbtut.com\/wp-content\/uploads\/2024\/04\/Ekran-goruntusu-2024-04-18-223236.png","contentUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2024\/04\/Ekran-goruntusu-2024-04-18-223236.png","width":601,"height":311},{"@type":"BreadcrumbList","@id":"https:\/\/dbtut.com\/index.php\/2024\/04\/18\/postgresql-functions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dbtut.com\/"},{"@type":"ListItem","position":2,"name":"PostgreSQL Functions"}]},{"@type":"WebSite","@id":"https:\/\/dbtut.com\/#website","url":"https:\/\/dbtut.com\/","name":"Database Tutorials","description":"MSSQL, Oracle, PostgreSQL, MySQL, MariaDB, DB2, Sybase, Teradata, Big Data, NOSQL, MongoDB, Couchbase, Cassandra, Windows, Linux","publisher":{"@id":"https:\/\/dbtut.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dbtut.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/dbtut.com\/#organization","name":"dbtut","url":"https:\/\/dbtut.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/#\/schema\/logo\/image\/","url":"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg","contentUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg","width":223,"height":36,"caption":"dbtut"},"image":{"@id":"https:\/\/dbtut.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/dbtut.com\/#\/schema\/person\/a7dfc5684c116e536b4e93ee214ccbfb","name":"Faruk Erdem","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ad1e61fb5a7c9a590e765f7cad8f2dc8332090f1ceb9a5ee2aa95c69213f0c50?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ad1e61fb5a7c9a590e765f7cad8f2dc8332090f1ceb9a5ee2aa95c69213f0c50?s=96&d=mm&r=g","caption":"Faruk Erdem"},"url":"https:\/\/dbtut.com\/index.php\/author\/farukerdem\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts\/56112","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/users\/366"}],"replies":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/comments?post=56112"}],"version-history":[{"count":1,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts\/56112\/revisions"}],"predecessor-version":[{"id":56115,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts\/56112\/revisions\/56115"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/media\/56114"}],"wp:attachment":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/media?parent=56112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/categories?post=56112"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/tags?post=56112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}