{"id":2443,"date":"2025-07-12T18:39:54","date_gmt":"2025-07-12T18:39:54","guid":{"rendered":"https:\/\/itnotes.apjsoftwares.in\/?p=2443"},"modified":"2025-07-12T18:39:54","modified_gmt":"2025-07-12T18:39:54","slug":"what-is-the-use-of-with-in-laravel","status":"publish","type":"post","link":"https:\/\/itnotes.apjsoftwares.in\/index.php\/2025\/07\/12\/what-is-the-use-of-with-in-laravel\/","title":{"rendered":"What is the use of with() in Laravel?"},"content":{"rendered":"\n<p><strong>English:<\/strong> The with() method is used for Eager Loading of relationships to reduce queries.<\/p>\n\n\n\n<p><strong>Hindi:<\/strong> with() method ka use Eager Loading ke liye hota hai jisse queries ki sankhya kam ho jaati hai.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>English: The with() method is used for Eager Loading of relationships to reduce queries. Hindi:&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[36],"tags":[],"_links":{"self":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts\/2443"}],"collection":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/comments?post=2443"}],"version-history":[{"count":1,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts\/2443\/revisions"}],"predecessor-version":[{"id":2444,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts\/2443\/revisions\/2444"}],"wp:attachment":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/media?parent=2443"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/categories?post=2443"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/tags?post=2443"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}