{"id":229,"date":"2017-12-12T07:38:23","date_gmt":"2017-12-12T07:38:23","guid":{"rendered":"https:\/\/blinksql.com\/?p=229"},"modified":"2017-12-12T07:38:23","modified_gmt":"2017-12-12T07:38:23","slug":"mongodb","status":"publish","type":"post","link":"https:\/\/blinksql.com\/?p=229","title":{"rendered":"MongoDB"},"content":{"rendered":"<p><strong>Features:<\/strong><\/p>\n<p>-&gt;MongoDB is a No SQL database. It is an open-source, cross-platform, document-oriented database written in C++.C-&gt;\u00a0It stores data as documents, so it is known as document oriented database.<\/p>\n<p>-&gt;\u00a0documents are separated by &#8220;.&#8221;<\/p>\n<p><strong>NoSQL Database:<\/strong><\/p>\n<p>-&gt; It doesn&#8217;t use tables for storing data.<\/p>\n<p>-&gt;\u00a0It is generally used to store big data and real-time web applications.<\/p>\n<p><strong>Advantages:<\/strong><\/p>\n<p>-&gt; No schema -one collection holds different documents.<\/p>\n<p>-&gt; There may be\u00a0difference between number of fields, content and size of the document\u00a0from one to other.<\/p>\n<p>-&gt; No complex joins<\/p>\n<p>-&gt; Facility of deep query<\/p>\n<p>-&gt; It is very esay to upgrade and light weight.<\/p>\n<p>-&gt; It\u00a0uses internal memory for storing working sets\u00a0and this is the reason of its fast access than RDBMS.<\/p>\n<p><strong>Comparaison with RDBMS:<\/strong><\/p>\n<p>-&gt; Collection is used like a table in mangodb.<\/p>\n<p>-&gt;\u00a0MongoDB is almost 100 times faster.<\/p>\n<p>-&gt;\u00a0MongoDB is a document oriented database in which data is written in BSON format\u00a0 \u00a0 \u00a0which is a JSON like format not like\u00a0multiple schema and in each schema we create tables to store data in RDBMS.<\/p>\n<p><strong>Data Types:<\/strong><\/p>\n<p><strong>Min\/Max Keys:<\/strong> This datatype compare a value against the lowest and highest bson elements<\/p>\n<p class=\"h1\"><strong>MongoDB Shell :<\/strong><\/p>\n<p>-&gt; This is a JavaScript shell that allows interaction with MongoDB instance from the command line.<\/p>\n<p>-&gt; If we want to create a table, we should name the table and define its column and each column&#8217;s data type.<\/p>\n<p>Note: This is an\u00a0editor in mango DB\u00a0 like an sql editor in RDBMS.<\/p>\n<p><strong>Create Database:<\/strong><\/p>\n<p>-&gt;\u00a0There is no create database command in MongoDB.<\/p>\n<p>-&gt;\u00a0 In MongoDB you don&#8217;t need to create a database manually because MongoDB will create it automatically when you save the value into the defined collection at first time.<\/p>\n<p><strong>cmd: use\u00a0DATABASE_NAME\u00a0<\/strong><\/p>\n<p><strong>Note:\u00a0<\/strong>If the database already exists, it will return the existing database. Otherwise creates new database with the given name.<\/p>\n<p><strong>Check the currently selected database:<\/strong><\/p>\n<p><strong>cmd: db\u00a0\u00a0<\/strong><\/p>\n<p><strong>Check the database list:<\/strong><\/p>\n<p><strong>cmd:show dbs<\/strong><\/p>\n<p><strong>Note:<\/strong> To see the database in the list it must have atleast single document in it.<\/p>\n<p><strong>DropDatabase:<\/strong><\/p>\n<p>The dropDatabase command is used to drop a database. It also deletes the associated data files. It operates on the current database.<\/p>\n<p><strong>cmd: db.dropDatabase()\u00a0\u00a0<\/strong><\/p>\n<p><strong>Note:\u00a0<\/strong>In the case we have not selected any database, it will delete default &#8220;test&#8221; database.<\/p>\n<p>-&gt; To delete the database sampledb first\u00a0 go to the database using the cmd<\/p>\n<p><strong>cmd: use\u00a0sampledb<\/strong><\/p>\n<p>-&gt; Then use the below cmd to drop the database.<\/p>\n<p><strong>cmd: db.dropDatabase()\u00a0\u00a0<\/strong><\/p>\n<p><strong>CreateCollection:<\/strong><\/p>\n<p>MongoDB creates collection automatically when you insert some documents. If we want to create it manually we can use the cmd.<\/p>\n<p><strong>Syntax: db.createCollection(<span class=\"keyword\">name<\/span>,\u00a0options)\u00a0 \u00a0<\/strong><\/p>\n<p><strong>Name: <\/strong>It\u00a0is a string type, specifies the name of the collection to be created.<\/p>\n<p><strong>Options: <\/strong>It<strong>\u00a0<\/strong>\u00a0is a document type, specifies the memory size and indexing of the collection. It is an optional parameter.<\/p>\n<p><strong>Eg:db.createCollection(<span class=\"string\">&#8220;Employee&#8221;<\/span>)\u00a0\u00a0<\/strong><\/p>\n<p><strong>To<\/strong>\u00a0<strong>check the created collection:<\/strong><\/p>\n<p><strong>cmd: show\u00a0collections\u00a0\u00a0<\/strong><\/p>\n<p class=\"h2\"><strong>MongoDB create collection automatically:<\/strong><\/p>\n<p>Insert a document named John into a collection named Employee. The operation will create the collection if the collection does not currently exist.<\/p>\n<p><strong>cmd:db.Employee.<span class=\"keyword\">insert<\/span>({<span class=\"string\">&#8220;name&#8221;<\/span>\u00a0:\u00a0<span class=\"string\">&#8220;John&#8221;<\/span>})<\/strong><\/p>\n<p><strong>To see the inserted document:<\/strong><\/p>\n<p><strong>cmd:db.collection_name.find()<\/strong><\/p>\n<p><strong>To drop a collection:<\/strong><\/p>\n<p>It completely removes a collection from the database and does not leave any indexes associated with the dropped collections.<\/p>\n<p><strong>Synatx: db.COLLECTION_NAME.<span class=\"keyword\">drop<\/span>()\u00a0\u00a0<\/strong><\/p>\n<p><strong>Eg:db.Employee.<span class=\"keyword\">drop<\/span>()\u00a0\u00a0<\/strong><\/p>\n<p class=\"n\"><strong>Note:<\/strong>\u00a0The drop command returns true if it successfully drops a collection. It returns false when there is no existing collection to drop.<\/p>\n<p class=\"h1\"><strong>Insert documents:<\/strong><\/p>\n<p>It is used to add or insert new documents into a collection in your database.<\/p>\n<p><strong>Syntax:db.COLLECTION_NAME.<span class=\"keyword\">insert<\/span>(document)\u00a0\u00a0<\/strong><\/p>\n<p>Eg: db.sampledb.<span class=\"keyword\">insert<\/span>(<\/p>\n<p>{<\/p>\n<p>course:\u00a0<span class=\"string\">&#8220;java&#8221;<\/span>,<\/p>\n<p>details:\u00a0{<\/p>\n<p>duration:\u00a0<span class=\"string\">&#8220;6\u00a0months&#8221;<\/span>,<\/p>\n<p>Trainer:\u00a0<span class=\"string\">&#8220;Sonoo\u00a0jaiswal&#8221;<\/span><\/p>\n<p>},<\/p>\n<p>Batch:\u00a0[\u00a0{\u00a0<span class=\"keyword\">size<\/span>:\u00a0<span class=\"string\">&#8220;Small&#8221;<\/span>,\u00a0qty:\u00a015\u00a0},\u00a0{\u00a0<span class=\"keyword\">size<\/span>:\u00a0<span class=\"string\">&#8220;Medium&#8221;<\/span>,\u00a0qty:\u00a025\u00a0}\u00a0],<\/p>\n<p>category:\u00a0<span class=\"string\">&#8220;Programming\u00a0language&#8221;<\/span><\/p>\n<p>}<\/p>\n<p>)<\/p>\n<p><strong>Note:<\/strong> There are another two ways to insert the documents into the collection using arrays and bulk insert.<\/p>\n<div class=\"codeblock3\">\u00a0<strong>Upsert:<\/strong><\/div>\n<div>-&gt; Upsert is an operation that performs either an update of existing document or an insert of new document if the document to modify does not exist.<\/div>\n<div>-&gt;\u00a0&#8220;db.collection.update()&#8221;\u00a0 and &#8220;db.collection.save()&#8221; methods\u00a0add new documents through an operation called upsert.<\/div>\n<div><\/div>\n<div><strong>Update:<\/strong>update() method is used to update or modify the existing documents of a collection.<\/div>\n<div><strong>Syntax:db.COLLECTION_NAME.<span class=\"keyword\">update<\/span>(SELECTIOIN_CRITERIA,\u00a0UPDATED_DATA)\u00a0\u00a0<\/strong><\/div>\n<p>-&gt; To update the existing course &#8220;java&#8221; into &#8220;android&#8221;<\/p>\n<p><strong>cmd:db.Employee.<span class=\"keyword\">update<\/span>({<span class=\"string\">&#8216;course&#8217;<\/span>:<span class=\"string\">&#8216;java&#8217;<\/span>},{$<span class=\"keyword\">set<\/span>:{<span class=\"string\">&#8216;course&#8217;<\/span>:<span class=\"string\">&#8216;android&#8217;<\/span>}})\u00a0\u00a0<\/strong><\/p>\n<p><strong>To delete documents from a collection:<\/strong><\/p>\n<p>Syntax:db.collection_name.remove\u00a0(DELETION_CRITERIA)<\/p>\n<p>Eg:db.Employee.remove({})<\/p>\n<p>-&gt; The above cmd is used to remove all the documents from the collection. It does not remove indexes.<\/p>\n<p class=\"h2\"><strong>Remove all documents that match a condition:<\/strong><\/p>\n<p class=\"h2\"><strong>cmd:db.Employee.remove(\u00a0{\u00a0type\u00a0:\u00a0<span class=\"string\">&#8220;programming\u00a0language&#8221;<\/span>\u00a0}\u00a0)\u00a0\u00a0<\/strong><\/p>\n<p>-&gt; It will remove all documents from the Employee collection where the type field is equal to programming language.<\/p>\n<p class=\"h2\"><strong>Remove a single document that match a condition:<\/strong><\/p>\n<p>-&gt; It will remove a single document from the Employee collection where the type field is equal to programming language.<\/p>\n<p><strong>cmd:db.Employee.remove(\u00a0{\u00a0type\u00a0:\u00a0<span class=\"string\">&#8220;programming\u00a0language&#8221;<\/span>\u00a0},\u00a01\u00a0)\u00a0\u00a0<\/strong><\/p>\n<p><strong>Retrieve documents from a collection:<\/strong><\/p>\n<p>Syntax:<\/p>\n<p>db.COLLECTION_NAME.find({})<\/p>\n<p>or<\/p>\n<p>db.COLLECTION_NAME.find()<\/p>\n<p class=\"h1\"><strong>limit():<\/strong><\/p>\n<p>We have a lot of fields in collection of our database and have to retrieve only 1 or 2. In such case, limit() method is used.<\/p>\n<p><strong>cmd:db.COLLECTION_NAME.find().limit(NUMBER)\u00a0 \u00a0<\/strong><\/p>\n<p><strong>skip():<\/strong><\/p>\n<p>This method is used to skip the document. It is used with find() and limit() methods.<\/p>\n<p><strong>Syntax:db.COLLECTION_NAME.find().limit(NUMBER).skip(NUMBER)\u00a0 \u00a0<\/strong><\/p>\n<p>Eg:db.Employee.find().limit(1).skip(2)<\/p>\n<p>-&gt;\u00a0Here the skip() method has skipped first and second documents and shows only third document.<\/p>\n<p><strong>sort() :<\/strong><\/p>\n<p>This method is used to sort the documents in the collection<\/p>\n<ul class=\"points\">\n<li>1 is used for ascending order sorting.<\/li>\n<li>-1 is used for descending order sorting.<\/li>\n<\/ul>\n<p><strong>Syntax:db.COLLECTION_NAME.find().sort({<span class=\"keyword\">KEY<\/span>:1})\u00a0\u00a0<\/strong><\/p>\n<p>Eg:db.Employee.find().sort({<span class=\"string\">&#8220;Course&#8221;<\/span>:-1})<\/p>\n<div class=\"codeblock\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Features: -&gt;MongoDB is a No SQL database. It is an open-source, cross-platform, document-oriented database written in C++.C-&gt;\u00a0It stores data as documents, so it is known as document oriented database. -&gt;\u00a0documents&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":""},"categories":[1],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.10 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>MongoDB - Blink SQL<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blinksql.com\/?p=229\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MongoDB - Blink SQL\" \/>\n<meta property=\"og:description\" content=\"Features: -&gt;MongoDB is a No SQL database. It is an open-source, cross-platform, document-oriented database written in C++.C-&gt;\u00a0It stores data as documents, so it is known as document oriented database. -&gt;\u00a0documents&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blinksql.com\/?p=229\" \/>\n<meta property=\"og:site_name\" content=\"Blink SQL\" \/>\n<meta property=\"article:published_time\" content=\"2017-12-12T07:38:23+00:00\" \/>\n<meta name=\"author\" content=\"Hannie\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@harika_sanaka\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Hannie\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/blinksql.com\/?p=229#article\",\"isPartOf\":{\"@id\":\"https:\/\/blinksql.com\/?p=229\"},\"author\":{\"name\":\"Hannie\",\"@id\":\"https:\/\/blinksql.com\/#\/schema\/person\/f04b99304f59e14956e768e764d2afd4\"},\"headline\":\"MongoDB\",\"datePublished\":\"2017-12-12T07:38:23+00:00\",\"dateModified\":\"2017-12-12T07:38:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/blinksql.com\/?p=229\"},\"wordCount\":1007,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/blinksql.com\/#organization\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/blinksql.com\/?p=229#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blinksql.com\/?p=229\",\"url\":\"https:\/\/blinksql.com\/?p=229\",\"name\":\"MongoDB - Blink SQL\",\"isPartOf\":{\"@id\":\"https:\/\/blinksql.com\/#website\"},\"datePublished\":\"2017-12-12T07:38:23+00:00\",\"dateModified\":\"2017-12-12T07:38:23+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/blinksql.com\/?p=229#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blinksql.com\/?p=229\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blinksql.com\/?p=229#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blinksql.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MongoDB\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blinksql.com\/#website\",\"url\":\"https:\/\/blinksql.com\/\",\"name\":\"Blink SQL\",\"description\":\" Thinking SQL\",\"publisher\":{\"@id\":\"https:\/\/blinksql.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blinksql.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/blinksql.com\/#organization\",\"name\":\"Blink SQL\",\"url\":\"https:\/\/blinksql.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blinksql.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/blinksql.com\/wp-content\/uploads\/2022\/11\/cropped-BlinkSQL-removebg.png\",\"contentUrl\":\"https:\/\/blinksql.com\/wp-content\/uploads\/2022\/11\/cropped-BlinkSQL-removebg.png\",\"width\":280,\"height\":172,\"caption\":\"Blink SQL\"},\"image\":{\"@id\":\"https:\/\/blinksql.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/blinksql.com\/#\/schema\/person\/f04b99304f59e14956e768e764d2afd4\",\"name\":\"Hannie\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blinksql.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c5876b3497d2c2eb98256b7c183220c1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c5876b3497d2c2eb98256b7c183220c1?s=96&d=mm&r=g\",\"caption\":\"Hannie\"},\"sameAs\":[\"http:\/\/blinksql.com\",\"https:\/\/twitter.com\/harika_sanaka\"],\"url\":\"https:\/\/blinksql.com\/?author=2\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"MongoDB - Blink SQL","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:\/\/blinksql.com\/?p=229","og_locale":"en_US","og_type":"article","og_title":"MongoDB - Blink SQL","og_description":"Features: -&gt;MongoDB is a No SQL database. It is an open-source, cross-platform, document-oriented database written in C++.C-&gt;\u00a0It stores data as documents, so it is known as document oriented database. -&gt;\u00a0documents&hellip;","og_url":"https:\/\/blinksql.com\/?p=229","og_site_name":"Blink SQL","article_published_time":"2017-12-12T07:38:23+00:00","author":"Hannie","twitter_card":"summary_large_image","twitter_creator":"@harika_sanaka","twitter_misc":{"Written by":"Hannie","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blinksql.com\/?p=229#article","isPartOf":{"@id":"https:\/\/blinksql.com\/?p=229"},"author":{"name":"Hannie","@id":"https:\/\/blinksql.com\/#\/schema\/person\/f04b99304f59e14956e768e764d2afd4"},"headline":"MongoDB","datePublished":"2017-12-12T07:38:23+00:00","dateModified":"2017-12-12T07:38:23+00:00","mainEntityOfPage":{"@id":"https:\/\/blinksql.com\/?p=229"},"wordCount":1007,"commentCount":0,"publisher":{"@id":"https:\/\/blinksql.com\/#organization"},"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blinksql.com\/?p=229#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blinksql.com\/?p=229","url":"https:\/\/blinksql.com\/?p=229","name":"MongoDB - Blink SQL","isPartOf":{"@id":"https:\/\/blinksql.com\/#website"},"datePublished":"2017-12-12T07:38:23+00:00","dateModified":"2017-12-12T07:38:23+00:00","breadcrumb":{"@id":"https:\/\/blinksql.com\/?p=229#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blinksql.com\/?p=229"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blinksql.com\/?p=229#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blinksql.com\/"},{"@type":"ListItem","position":2,"name":"MongoDB"}]},{"@type":"WebSite","@id":"https:\/\/blinksql.com\/#website","url":"https:\/\/blinksql.com\/","name":"Blink SQL","description":" Thinking SQL","publisher":{"@id":"https:\/\/blinksql.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blinksql.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/blinksql.com\/#organization","name":"Blink SQL","url":"https:\/\/blinksql.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blinksql.com\/#\/schema\/logo\/image\/","url":"https:\/\/blinksql.com\/wp-content\/uploads\/2022\/11\/cropped-BlinkSQL-removebg.png","contentUrl":"https:\/\/blinksql.com\/wp-content\/uploads\/2022\/11\/cropped-BlinkSQL-removebg.png","width":280,"height":172,"caption":"Blink SQL"},"image":{"@id":"https:\/\/blinksql.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/blinksql.com\/#\/schema\/person\/f04b99304f59e14956e768e764d2afd4","name":"Hannie","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blinksql.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c5876b3497d2c2eb98256b7c183220c1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c5876b3497d2c2eb98256b7c183220c1?s=96&d=mm&r=g","caption":"Hannie"},"sameAs":["http:\/\/blinksql.com","https:\/\/twitter.com\/harika_sanaka"],"url":"https:\/\/blinksql.com\/?author=2"}]}},"_links":{"self":[{"href":"https:\/\/blinksql.com\/index.php?rest_route=\/wp\/v2\/posts\/229"}],"collection":[{"href":"https:\/\/blinksql.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blinksql.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blinksql.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blinksql.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=229"}],"version-history":[{"count":0,"href":"https:\/\/blinksql.com\/index.php?rest_route=\/wp\/v2\/posts\/229\/revisions"}],"wp:attachment":[{"href":"https:\/\/blinksql.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=229"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blinksql.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=229"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blinksql.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=229"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}