{"id":3611,"date":"2011-04-14T21:03:57","date_gmt":"2011-04-14T15:33:57","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=3611"},"modified":"2012-06-29T15:01:10","modified_gmt":"2012-06-29T09:31:10","slug":"truncate-table-executeupdate-or-createsqlquery","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/truncate-table-executeupdate-or-createsqlquery\/","title":{"rendered":"Truncate Table ? executeUpdate OR createSQLQuery"},"content":{"rendered":"<p>In one of the modules that I was working on , I needed to delete the previous data from a table then load up the data into those tables again and then manipulate code through the &#8216;id&#8217;s&#8217; on those tables.<br \/>\nSo this is what I was doing &#8230;<\/p>\n<p>[groovy]<br \/>\nEvent.executeUpdate(&#8216;delete from Event&#8217;)<br \/>\nEventInstance.executeUpdate(&#8216;delete from EventInstance&#8217;)<br \/>\n[\/groovy]<br \/>\n<\/br><br \/>\nBut the <strong>problem<\/strong> was that when I deleted the events, the &#8216;id&#8217;s&#8217; on those tables would remain intact and the new Events that would load up would continue upon the earlier present &#8216; id&#8217;s &#8216; .i.e if the last present id was 24 before deleting , the new load-ups would continue from 25 onwards..<\/p>\n<p>This made realise that truncate was a better option &#8230; But <strong>unfortunately<\/strong> the GORM layer does not support the &#8216; truncate &#8216; queries that I was looking for.<br \/>\nSo in effect this query would give an error<br \/>\n<\/br><br \/>\n[groovy]<br \/>\nEvent.executeUpdate(&#8216;truncate table Event&#8217;)<br \/>\nEventInstance.executeUpdate(&#8216;truncate table EventInstance&#8217;)<br \/>\n[\/groovy]<\/p>\n<p>So with some help from &#8216; Mr. Google &#8216; and my fellow colleagues , i realised that there was another way to do this ..<br \/>\n<strong> Session Factory &#8230;<\/strong><br \/>\nSession Factory allowed me to truncate those tables through\u00a0 createSQLQuery() method<br \/>\nSo my new approach was<br \/>\n<\/br><\/p>\n<p>[groovy]<br \/>\n   def sessionFactory<\/p>\n<p>   def session = sessionFactory.getCurrentSession()<br \/>\n   Query query = session.createSQLQuery(&#8216;truncate table event&#8217;)<br \/>\n[\/groovy]<\/p>\n<p>The<strong> getCurrentSession()<\/strong> method looks at the current context to see if a session is stored in there. If there is one, it uses it, and if there isn&#8217;t a session in the current context, it creates a new one and saves it in there.<br \/>\nThen all I did was use the query to truncate the tables&#8230; and presto !! .. my work was done ..<br \/>\n<\/br><\/p>\n<p>Hope this helps .. \ud83d\ude00<\/p>\n<p>Cheers<\/p>\n<p>Manoj Mohan<br \/>\nManoj (at) Intelligrape (dot) com<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In one of the modules that I was working on , I needed to delete the previous data from a table then load up the data into those tables again and then manipulate code through the &#8216;id&#8217;s&#8217; on those tables. So this is what I was doing &#8230; [groovy] Event.executeUpdate(&#8216;delete from Event&#8217;) EventInstance.executeUpdate(&#8216;delete from EventInstance&#8217;) [&hellip;]<\/p>\n","protected":false},"author":32,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":4,"footnotes":""},"categories":[7],"tags":[4843,844,4840,843],"class_list":["post-3611","post","type-post","status-publish","format-standard","hentry","category-grails","tag-database","tag-executeupdate","tag-grails","tag-truncate"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"In one of the modules that I was working on , I needed to delete the previous data from a table then load up the data into those tables again and then manipulate code through the &#039;id&#039;s&#039; on those tables. So this is what I was doing ... [groovy] Event.executeUpdate(&#039;delete from Event&#039;) EventInstance.executeUpdate(&#039;delete from EventInstance&#039;)\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Manoj Mohan\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.tothenew.com\/blog\/truncate-table-executeupdate-or-createsqlquery\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"Truncate Table ? executeUpdate OR createSQLQuery | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"In one of the modules that I was working on , I needed to delete the previous data from a table then load up the data into those tables again and then manipulate code through the &#039;id&#039;s&#039; on those tables. So this is what I was doing ... [groovy] Event.executeUpdate(&#039;delete from Event&#039;) EventInstance.executeUpdate(&#039;delete from EventInstance&#039;)\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.tothenew.com\/blog\/truncate-table-executeupdate-or-createsqlquery\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Truncate Table ? executeUpdate OR createSQLQuery | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"In one of the modules that I was working on , I needed to delete the previous data from a table then load up the data into those tables again and then manipulate code through the &#039;id&#039;s&#039; on those tables. So this is what I was doing ... [groovy] Event.executeUpdate(&#039;delete from Event&#039;) EventInstance.executeUpdate(&#039;delete from EventInstance&#039;)\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/truncate-table-executeupdate-or-createsqlquery\\\/#article\",\"name\":\"Truncate Table ? executeUpdate OR createSQLQuery | TO THE NEW Blog\",\"headline\":\"Truncate Table ? executeUpdate OR createSQLQuery\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/manoj\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"datePublished\":\"2011-04-14T21:03:57+05:30\",\"dateModified\":\"2012-06-29T15:01:10+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/truncate-table-executeupdate-or-createsqlquery\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/truncate-table-executeupdate-or-createsqlquery\\\/#webpage\"},\"articleSection\":\"Grails, Database, executeUpdate, Grails, truncate\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/truncate-table-executeupdate-or-createsqlquery\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/#listItem\",\"name\":\"Grails\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/#listItem\",\"position\":2,\"name\":\"Grails\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/truncate-table-executeupdate-or-createsqlquery\\\/#listItem\",\"name\":\"Truncate Table ? executeUpdate OR createSQLQuery\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/truncate-table-executeupdate-or-createsqlquery\\\/#listItem\",\"position\":3,\"name\":\"Truncate Table ? executeUpdate OR createSQLQuery\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/#listItem\",\"name\":\"Grails\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/manoj\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/manoj\\\/\",\"name\":\"Manoj Mohan\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/truncate-table-executeupdate-or-createsqlquery\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/51f6b8d1b9220effcec311fe0a79e0b5690c55d009ae52e10ccc2bebfab4273a?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Manoj Mohan\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/truncate-table-executeupdate-or-createsqlquery\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/truncate-table-executeupdate-or-createsqlquery\\\/\",\"name\":\"Truncate Table ? executeUpdate OR createSQLQuery | TO THE NEW Blog\",\"description\":\"In one of the modules that I was working on , I needed to delete the previous data from a table then load up the data into those tables again and then manipulate code through the 'id's' on those tables. So this is what I was doing ... [groovy] Event.executeUpdate('delete from Event') EventInstance.executeUpdate('delete from EventInstance')\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/truncate-table-executeupdate-or-createsqlquery\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/manoj\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/manoj\\\/#author\"},\"datePublished\":\"2011-04-14T21:03:57+05:30\",\"dateModified\":\"2012-06-29T15:01:10+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Truncate Table ? executeUpdate OR createSQLQuery | TO THE NEW Blog","description":"In one of the modules that I was working on , I needed to delete the previous data from a table then load up the data into those tables again and then manipulate code through the 'id's' on those tables. So this is what I was doing ... [groovy] Event.executeUpdate('delete from Event') EventInstance.executeUpdate('delete from EventInstance')","canonical_url":"https:\/\/www.tothenew.com\/blog\/truncate-table-executeupdate-or-createsqlquery\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tothenew.com\/blog\/truncate-table-executeupdate-or-createsqlquery\/#article","name":"Truncate Table ? executeUpdate OR createSQLQuery | TO THE NEW Blog","headline":"Truncate Table ? executeUpdate OR createSQLQuery","author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/manoj\/#author"},"publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"},"datePublished":"2011-04-14T21:03:57+05:30","dateModified":"2012-06-29T15:01:10+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.tothenew.com\/blog\/truncate-table-executeupdate-or-createsqlquery\/#webpage"},"isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/truncate-table-executeupdate-or-createsqlquery\/#webpage"},"articleSection":"Grails, Database, executeUpdate, Grails, truncate"},{"@type":"BreadcrumbList","@id":"https:\/\/www.tothenew.com\/blog\/truncate-table-executeupdate-or-createsqlquery\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.tothenew.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/grails\/#listItem","name":"Grails"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/grails\/#listItem","position":2,"name":"Grails","item":"https:\/\/www.tothenew.com\/blog\/category\/grails\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/truncate-table-executeupdate-or-createsqlquery\/#listItem","name":"Truncate Table ? executeUpdate OR createSQLQuery"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/truncate-table-executeupdate-or-createsqlquery\/#listItem","position":3,"name":"Truncate Table ? executeUpdate OR createSQLQuery","previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/grails\/#listItem","name":"Grails"}}]},{"@type":"Organization","@id":"https:\/\/www.tothenew.com\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/www.tothenew.com\/blog\/"},{"@type":"Person","@id":"https:\/\/www.tothenew.com\/blog\/author\/manoj\/#author","url":"https:\/\/www.tothenew.com\/blog\/author\/manoj\/","name":"Manoj Mohan","image":{"@type":"ImageObject","@id":"https:\/\/www.tothenew.com\/blog\/truncate-table-executeupdate-or-createsqlquery\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/51f6b8d1b9220effcec311fe0a79e0b5690c55d009ae52e10ccc2bebfab4273a?s=96&d=mm&r=g","width":96,"height":96,"caption":"Manoj Mohan"}},{"@type":"WebPage","@id":"https:\/\/www.tothenew.com\/blog\/truncate-table-executeupdate-or-createsqlquery\/#webpage","url":"https:\/\/www.tothenew.com\/blog\/truncate-table-executeupdate-or-createsqlquery\/","name":"Truncate Table ? executeUpdate OR createSQLQuery | TO THE NEW Blog","description":"In one of the modules that I was working on , I needed to delete the previous data from a table then load up the data into those tables again and then manipulate code through the 'id's' on those tables. So this is what I was doing ... [groovy] Event.executeUpdate('delete from Event') EventInstance.executeUpdate('delete from EventInstance')","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.tothenew.com\/blog\/truncate-table-executeupdate-or-createsqlquery\/#breadcrumblist"},"author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/manoj\/#author"},"creator":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/manoj\/#author"},"datePublished":"2011-04-14T21:03:57+05:30","dateModified":"2012-06-29T15:01:10+05:30"},{"@type":"WebSite","@id":"https:\/\/www.tothenew.com\/blog\/#website","url":"https:\/\/www.tothenew.com\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"Truncate Table ? executeUpdate OR createSQLQuery | TO THE NEW Blog","og:description":"In one of the modules that I was working on , I needed to delete the previous data from a table then load up the data into those tables again and then manipulate code through the 'id's' on those tables. So this is what I was doing ... [groovy] Event.executeUpdate('delete from Event') EventInstance.executeUpdate('delete from EventInstance')","og:url":"https:\/\/www.tothenew.com\/blog\/truncate-table-executeupdate-or-createsqlquery\/","og:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Truncate Table ? executeUpdate OR createSQLQuery | TO THE NEW Blog","twitter:description":"In one of the modules that I was working on , I needed to delete the previous data from a table then load up the data into those tables again and then manipulate code through the 'id's' on those tables. So this is what I was doing ... [groovy] Event.executeUpdate('delete from Event') EventInstance.executeUpdate('delete from EventInstance')","twitter:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"3611","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-29 12:07:03","updated":"2024-02-29 08:20:21","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tothenew.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tothenew.com\/blog\/category\/grails\/\" title=\"Grails\">Grails<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tTruncate Table ? executeUpdate OR createSQLQuery\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.tothenew.com\/blog"},{"label":"Grails","link":"https:\/\/www.tothenew.com\/blog\/category\/grails\/"},{"label":"Truncate Table ? executeUpdate OR createSQLQuery","link":"https:\/\/www.tothenew.com\/blog\/truncate-table-executeupdate-or-createsqlquery\/"}],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/3611","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=3611"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/3611\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=3611"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=3611"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=3611"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}