[{"data":1,"prerenderedAt":7016},["Reactive",2],{"navigation":3,"docs-/usage/typescript":164,"docs-/usage/typescript-surround":1041},[4,20,45,67,92,102,115],{"title":5,"_path":6,"children":7},"Get Started","/get-started",[8,11,14,17],{"title":9,"_path":10},"Installation","/get-started/installation",{"title":12,"_path":13},"Configuration","/get-started/configuration",{"title":15,"_path":16},"Edge Channel","/get-started/edge-channel",{"title":18,"_path":19},"Migration","/get-started/from-v1",{"title":21,"_path":22,"children":23},"Usage","/usage",[24,27,30,33,36,39,42],{"title":25,"_path":26},"Content Directory","/usage/content-directory",{"title":28,"_path":29},"Markdown","/usage/markdown",{"title":31,"_path":32},"JSON, YAML, CSV","/usage/files",{"title":34,"_path":35},"Render Content","/usage/render",{"title":37,"_path":38},"Search","/usage/search",{"title":40,"_path":41},"Fetch Navigation","/usage/navigation",{"title":43,"_path":44},"TypeScript Support","/usage/typescript",{"title":46,"_path":47,"children":48},"Composables","/composables",[49,52,55,58,61,64],{"title":50,"_path":51},"queryContent()","/composables/query-content",{"title":53,"_path":54},"fetchContentNavigation()","/composables/fetch-content-navigation",{"title":56,"_path":57},"useContentHead()","/composables/use-content-head",{"title":59,"_path":60},"useContentHelpers()","/composables/use-content-helpers",{"title":62,"_path":63},"useUnwrap()","/composables/use-unwrap",{"title":65,"_path":66},"searchContent()","/composables/search-content",{"title":68,"_path":69,"children":70},"Components","/components",[71,74,77,80,83,86,89],{"title":72,"_path":73},"\u003CContentDoc>","/components/content-doc",{"title":75,"_path":76},"\u003CContentRenderer>","/components/content-renderer",{"title":78,"_path":79},"\u003CContentList>","/components/content-list",{"title":81,"_path":82},"\u003CContentNavigation>","/components/content-navigation",{"title":84,"_path":85},"\u003CContentQuery>","/components/content-query",{"title":87,"_path":88},"\u003CContentSlot>","/components/content-slot",{"title":90,"_path":91},"Prose Components","/components/prose",{"title":93,"_path":94,"children":95},"Document Driven","/document-driven",[96,99],{"title":97,"_path":98},"Introduction","/document-driven/introduction",{"title":100,"_path":101},"useContent()","/document-driven/use-content",{"title":103,"_path":104,"children":105},"Recipes","/recipes",[106,109,112],{"title":107,"_path":108},"Hooks","/recipes/hooks",{"title":110,"_path":111},"Transformers","/recipes/transformers",{"title":113,"_path":114},"Sitemap","/recipes/sitemap",{"title":116,"_path":117,"children":118},"V1","/v1",[119,141,154],{"title":120,"_path":121,"children":122},"Getting Started","/v1/getting-started",[123,125,127,130,133,136,138],{"title":97,"_path":124},"/v1/getting-started/introduction",{"title":9,"_path":126},"/v1/getting-started/installation",{"title":128,"_path":129},"Writing content","/v1/getting-started/writing",{"title":131,"_path":132},"Fetching content","/v1/getting-started/fetching",{"title":134,"_path":135},"Displaying content","/v1/getting-started/displaying",{"title":12,"_path":137},"/v1/getting-started/configuration",{"title":139,"_path":140},"Advanced","/v1/getting-started/advanced",{"title":142,"_path":143,"children":144},"Examples","/v1/examples",[145,148,151],{"title":146,"_path":147},"Basic Usage","/v1/examples/basic",{"title":149,"_path":150},"TailwindCSS","/v1/examples/tailwindcss-typography",{"title":152,"_path":153},"Docs Theme","/v1/examples/docs-theme",{"title":155,"_path":156,"children":157},"Community","/v1/community",[158,161],{"title":159,"_path":160},"Snippets","/v1/community/snippets",{"title":162,"_path":163},"Integrations","/v1/community/integrations",{"_path":44,"_dir":165,"_draft":166,"_partial":166,"_locale":167,"title":43,"description":168,"body":169,"_type":1036,"_id":1037,"_source":1038,"_file":1039,"_extension":1040},"usage",false,"","Nuxt Content v2 is built with TypeScript in mind.",{"type":170,"children":171,"toc":1030},"root",[172,181,187,192,218,255,261,274,287,292,682,688,700,993,999,1004,1009,1014,1024],{"type":173,"tag":174,"props":175,"children":177},"element","h1",{"id":176},"typings-properly",[178],{"type":179,"value":180},"text","Typings properly",{"type":173,"tag":182,"props":183,"children":184},"p",{},[185],{"type":179,"value":186},"The module exposes typings properly from configuration to query builder.",{"type":173,"tag":188,"props":189,"children":190},"h2",{"id":165},[191],{"type":179,"value":21},{"type":173,"tag":182,"props":193,"children":194},{},[195,197,202,204,216],{"type":179,"value":196},"When using ",{"type":173,"tag":198,"props":199,"children":200},"code",{"className":167},[201],{"type":179,"value":50},{"type":179,"value":203},", you will retrieve a ",{"type":173,"tag":205,"props":206,"children":210},"a",{"href":207,"rel":208},"https://github.com/nuxt/content/blob/main/src/runtime/types/index.d.ts#L429",[209],"nofollow",[211],{"type":173,"tag":198,"props":212,"children":213},{"className":167},[214],{"type":179,"value":215},"QueryBuilder",{"type":179,"value":217}," instance.",{"type":173,"tag":182,"props":219,"children":220},{},[221,223,228,230,235,236,241,243,253],{"type":179,"value":222},"Once you use one of the fetching methods (",{"type":173,"tag":198,"props":224,"children":225},{"className":167},[226],{"type":179,"value":227},"find()",{"type":179,"value":229},", ",{"type":173,"tag":198,"props":231,"children":232},{"className":167},[233],{"type":179,"value":234},"findOne()",{"type":179,"value":229},{"type":173,"tag":198,"props":237,"children":238},{"className":167},[239],{"type":179,"value":240},"findSurround()",{"type":179,"value":242},"), you will retrieve an object of type ",{"type":173,"tag":205,"props":244,"children":247},{"href":245,"rel":246},"https://github.com/nuxt/content/blob/main/src/runtime/types/index.d.ts#L51",[209],[248],{"type":173,"tag":198,"props":249,"children":250},{"className":167},[251],{"type":179,"value":252},"ParsedContent",{"type":179,"value":254},".",{"type":173,"tag":188,"props":256,"children":258},{"id":257},"type-augmentation",[259],{"type":179,"value":260},"Type augmentation",{"type":173,"tag":182,"props":262,"children":263},{},[264,266,272],{"type":179,"value":265},"If you are adding keys to the front-matter other than the ",{"type":173,"tag":205,"props":267,"children":269},{"href":268},"/usage/markdown#front-matter",[270],{"type":179,"value":271},"default keys",{"type":179,"value":273},", you might want to have typings over these.",{"type":173,"tag":182,"props":275,"children":276},{},[277,279,285],{"type":179,"value":278},"This is currently possible, yet not in an ",{"type":173,"tag":280,"props":281,"children":282},"em",{},[283],{"type":179,"value":284},"optimal",{"type":179,"value":286}," way.",{"type":173,"tag":182,"props":288,"children":289},{},[290],{"type":179,"value":291},"The recommended way to do it is by using this method:",{"type":173,"tag":293,"props":294,"children":298},"pre",{"className":295,"code":296,"language":297,"meta":167,"style":167},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript setup lang=\"ts\">\nimport type { ParsedContent } from '@nuxt/content/dist/runtime/types'\n\ninterface MyCustomParsedContent extends ParsedContent {\n  yourOwn: 'keys'\n  foo: 'bar'\n  baz: 'bar'\n}\n\n// That `data` key will be typed with `MyCustomParsedContent`\nconst { data } = await useAsyncData(\n  () => queryContent\u003CMyCustomParsedContent>({ ...anyQuery })\n)\n\u003C/script>\n","vue",[299],{"type":173,"tag":198,"props":300,"children":301},{"__ignoreMap":167},[302,356,407,417,446,473,499,524,533,541,551,595,657,665],{"type":173,"tag":303,"props":304,"children":307},"span",{"class":305,"line":306},"line",1,[308,314,320,326,331,336,341,347,351],{"type":173,"tag":303,"props":309,"children":311},{"style":310},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[312],{"type":179,"value":313},"\u003C",{"type":173,"tag":303,"props":315,"children":317},{"style":316},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[318],{"type":179,"value":319},"script",{"type":173,"tag":303,"props":321,"children":323},{"style":322},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[324],{"type":179,"value":325}," setup",{"type":173,"tag":303,"props":327,"children":328},{"style":322},[329],{"type":179,"value":330}," lang",{"type":173,"tag":303,"props":332,"children":333},{"style":310},[334],{"type":179,"value":335},"=",{"type":173,"tag":303,"props":337,"children":338},{"style":310},[339],{"type":179,"value":340},"\"",{"type":173,"tag":303,"props":342,"children":344},{"style":343},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[345],{"type":179,"value":346},"ts",{"type":173,"tag":303,"props":348,"children":349},{"style":310},[350],{"type":179,"value":340},{"type":173,"tag":303,"props":352,"children":353},{"style":310},[354],{"type":179,"value":355},">\n",{"type":173,"tag":303,"props":357,"children":359},{"class":305,"line":358},2,[360,366,371,376,382,387,392,397,402],{"type":173,"tag":303,"props":361,"children":363},{"style":362},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[364],{"type":179,"value":365},"import",{"type":173,"tag":303,"props":367,"children":368},{"style":362},[369],{"type":179,"value":370}," type",{"type":173,"tag":303,"props":372,"children":373},{"style":310},[374],{"type":179,"value":375}," {",{"type":173,"tag":303,"props":377,"children":379},{"style":378},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[380],{"type":179,"value":381}," ParsedContent",{"type":173,"tag":303,"props":383,"children":384},{"style":310},[385],{"type":179,"value":386}," }",{"type":173,"tag":303,"props":388,"children":389},{"style":362},[390],{"type":179,"value":391}," from",{"type":173,"tag":303,"props":393,"children":394},{"style":310},[395],{"type":179,"value":396}," '",{"type":173,"tag":303,"props":398,"children":399},{"style":343},[400],{"type":179,"value":401},"@nuxt/content/dist/runtime/types",{"type":173,"tag":303,"props":403,"children":404},{"style":310},[405],{"type":179,"value":406},"'\n",{"type":173,"tag":303,"props":408,"children":410},{"class":305,"line":409},3,[411],{"type":173,"tag":303,"props":412,"children":414},{"emptyLinePlaceholder":413},true,[415],{"type":179,"value":416},"\n",{"type":173,"tag":303,"props":418,"children":420},{"class":305,"line":419},4,[421,426,432,437,441],{"type":173,"tag":303,"props":422,"children":423},{"style":322},[424],{"type":179,"value":425},"interface",{"type":173,"tag":303,"props":427,"children":429},{"style":428},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[430],{"type":179,"value":431}," MyCustomParsedContent",{"type":173,"tag":303,"props":433,"children":434},{"style":322},[435],{"type":179,"value":436}," extends",{"type":173,"tag":303,"props":438,"children":439},{"style":428},[440],{"type":179,"value":381},{"type":173,"tag":303,"props":442,"children":443},{"style":310},[444],{"type":179,"value":445}," {\n",{"type":173,"tag":303,"props":447,"children":449},{"class":305,"line":448},5,[450,455,460,464,469],{"type":173,"tag":303,"props":451,"children":452},{"style":316},[453],{"type":179,"value":454},"  yourOwn",{"type":173,"tag":303,"props":456,"children":457},{"style":310},[458],{"type":179,"value":459},":",{"type":173,"tag":303,"props":461,"children":462},{"style":310},[463],{"type":179,"value":396},{"type":173,"tag":303,"props":465,"children":466},{"style":343},[467],{"type":179,"value":468},"keys",{"type":173,"tag":303,"props":470,"children":471},{"style":310},[472],{"type":179,"value":406},{"type":173,"tag":303,"props":474,"children":476},{"class":305,"line":475},6,[477,482,486,490,495],{"type":173,"tag":303,"props":478,"children":479},{"style":316},[480],{"type":179,"value":481},"  foo",{"type":173,"tag":303,"props":483,"children":484},{"style":310},[485],{"type":179,"value":459},{"type":173,"tag":303,"props":487,"children":488},{"style":310},[489],{"type":179,"value":396},{"type":173,"tag":303,"props":491,"children":492},{"style":343},[493],{"type":179,"value":494},"bar",{"type":173,"tag":303,"props":496,"children":497},{"style":310},[498],{"type":179,"value":406},{"type":173,"tag":303,"props":500,"children":502},{"class":305,"line":501},7,[503,508,512,516,520],{"type":173,"tag":303,"props":504,"children":505},{"style":316},[506],{"type":179,"value":507},"  baz",{"type":173,"tag":303,"props":509,"children":510},{"style":310},[511],{"type":179,"value":459},{"type":173,"tag":303,"props":513,"children":514},{"style":310},[515],{"type":179,"value":396},{"type":173,"tag":303,"props":517,"children":518},{"style":343},[519],{"type":179,"value":494},{"type":173,"tag":303,"props":521,"children":522},{"style":310},[523],{"type":179,"value":406},{"type":173,"tag":303,"props":525,"children":527},{"class":305,"line":526},8,[528],{"type":173,"tag":303,"props":529,"children":530},{"style":310},[531],{"type":179,"value":532},"}\n",{"type":173,"tag":303,"props":534,"children":536},{"class":305,"line":535},9,[537],{"type":173,"tag":303,"props":538,"children":539},{"emptyLinePlaceholder":413},[540],{"type":179,"value":416},{"type":173,"tag":303,"props":542,"children":544},{"class":305,"line":543},10,[545],{"type":173,"tag":303,"props":546,"children":548},{"style":547},"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[549],{"type":179,"value":550},"// That `data` key will be typed with `MyCustomParsedContent`\n",{"type":173,"tag":303,"props":552,"children":554},{"class":305,"line":553},11,[555,560,564,569,574,579,584,590],{"type":173,"tag":303,"props":556,"children":557},{"style":322},[558],{"type":179,"value":559},"const",{"type":173,"tag":303,"props":561,"children":562},{"style":310},[563],{"type":179,"value":375},{"type":173,"tag":303,"props":565,"children":566},{"style":378},[567],{"type":179,"value":568}," data ",{"type":173,"tag":303,"props":570,"children":571},{"style":310},[572],{"type":179,"value":573},"}",{"type":173,"tag":303,"props":575,"children":576},{"style":310},[577],{"type":179,"value":578}," =",{"type":173,"tag":303,"props":580,"children":581},{"style":362},[582],{"type":179,"value":583}," await",{"type":173,"tag":303,"props":585,"children":587},{"style":586},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[588],{"type":179,"value":589}," useAsyncData",{"type":173,"tag":303,"props":591,"children":592},{"style":378},[593],{"type":179,"value":594},"(\n",{"type":173,"tag":303,"props":596,"children":598},{"class":305,"line":597},12,[599,604,609,614,618,623,628,633,638,643,648,652],{"type":173,"tag":303,"props":600,"children":601},{"style":310},[602],{"type":179,"value":603},"  ()",{"type":173,"tag":303,"props":605,"children":606},{"style":322},[607],{"type":179,"value":608}," =>",{"type":173,"tag":303,"props":610,"children":611},{"style":586},[612],{"type":179,"value":613}," queryContent",{"type":173,"tag":303,"props":615,"children":616},{"style":310},[617],{"type":179,"value":313},{"type":173,"tag":303,"props":619,"children":620},{"style":428},[621],{"type":179,"value":622},"MyCustomParsedContent",{"type":173,"tag":303,"props":624,"children":625},{"style":310},[626],{"type":179,"value":627},">",{"type":173,"tag":303,"props":629,"children":630},{"style":378},[631],{"type":179,"value":632},"(",{"type":173,"tag":303,"props":634,"children":635},{"style":310},[636],{"type":179,"value":637},"{",{"type":173,"tag":303,"props":639,"children":640},{"style":310},[641],{"type":179,"value":642}," ...",{"type":173,"tag":303,"props":644,"children":645},{"style":378},[646],{"type":179,"value":647},"anyQuery ",{"type":173,"tag":303,"props":649,"children":650},{"style":310},[651],{"type":179,"value":573},{"type":173,"tag":303,"props":653,"children":654},{"style":378},[655],{"type":179,"value":656},")\n",{"type":173,"tag":303,"props":658,"children":660},{"class":305,"line":659},13,[661],{"type":173,"tag":303,"props":662,"children":663},{"style":378},[664],{"type":179,"value":656},{"type":173,"tag":303,"props":666,"children":668},{"class":305,"line":667},14,[669,674,678],{"type":173,"tag":303,"props":670,"children":671},{"style":310},[672],{"type":179,"value":673},"\u003C/",{"type":173,"tag":303,"props":675,"children":676},{"style":316},[677],{"type":179,"value":319},{"type":173,"tag":303,"props":679,"children":680},{"style":310},[681],{"type":179,"value":355},{"type":173,"tag":188,"props":683,"children":685},{"id":684},"markdown-specific-types",[686],{"type":179,"value":687},"Markdown Specific Types",{"type":173,"tag":182,"props":689,"children":690},{},[691,693,698],{"type":179,"value":692},"If you know the content being fetched will be Markdown, then you can extend the ",{"type":173,"tag":198,"props":694,"children":695},{"className":167},[696],{"type":179,"value":697},"MarkdownParsedContent",{"type":179,"value":699}," type for improved\ntype-safety.",{"type":173,"tag":293,"props":701,"children":703},{"className":295,"code":702,"language":297,"meta":167,"style":167},"\u003Cscript setup lang=\"ts\">\nimport type { MarkdownParsedContent } from '@nuxt/content/dist/runtime/types'\n\ninterface Article extends MarkdownParsedContent {\n  author: string\n}\nconst { data } = await useAsyncData(\n  'first-article',\n  () => queryContent\u003CArticle>('articles').findOne()\n)\n// data.value.author will be typed as well as markdown specific entries\n\u003C/script>\n",[704],{"type":173,"tag":198,"props":705,"children":706},{"__ignoreMap":167},[707,746,786,793,817,834,841,876,899,963,970,978],{"type":173,"tag":303,"props":708,"children":709},{"class":305,"line":306},[710,714,718,722,726,730,734,738,742],{"type":173,"tag":303,"props":711,"children":712},{"style":310},[713],{"type":179,"value":313},{"type":173,"tag":303,"props":715,"children":716},{"style":316},[717],{"type":179,"value":319},{"type":173,"tag":303,"props":719,"children":720},{"style":322},[721],{"type":179,"value":325},{"type":173,"tag":303,"props":723,"children":724},{"style":322},[725],{"type":179,"value":330},{"type":173,"tag":303,"props":727,"children":728},{"style":310},[729],{"type":179,"value":335},{"type":173,"tag":303,"props":731,"children":732},{"style":310},[733],{"type":179,"value":340},{"type":173,"tag":303,"props":735,"children":736},{"style":343},[737],{"type":179,"value":346},{"type":173,"tag":303,"props":739,"children":740},{"style":310},[741],{"type":179,"value":340},{"type":173,"tag":303,"props":743,"children":744},{"style":310},[745],{"type":179,"value":355},{"type":173,"tag":303,"props":747,"children":748},{"class":305,"line":358},[749,753,757,761,766,770,774,778,782],{"type":173,"tag":303,"props":750,"children":751},{"style":362},[752],{"type":179,"value":365},{"type":173,"tag":303,"props":754,"children":755},{"style":362},[756],{"type":179,"value":370},{"type":173,"tag":303,"props":758,"children":759},{"style":310},[760],{"type":179,"value":375},{"type":173,"tag":303,"props":762,"children":763},{"style":378},[764],{"type":179,"value":765}," MarkdownParsedContent",{"type":173,"tag":303,"props":767,"children":768},{"style":310},[769],{"type":179,"value":386},{"type":173,"tag":303,"props":771,"children":772},{"style":362},[773],{"type":179,"value":391},{"type":173,"tag":303,"props":775,"children":776},{"style":310},[777],{"type":179,"value":396},{"type":173,"tag":303,"props":779,"children":780},{"style":343},[781],{"type":179,"value":401},{"type":173,"tag":303,"props":783,"children":784},{"style":310},[785],{"type":179,"value":406},{"type":173,"tag":303,"props":787,"children":788},{"class":305,"line":409},[789],{"type":173,"tag":303,"props":790,"children":791},{"emptyLinePlaceholder":413},[792],{"type":179,"value":416},{"type":173,"tag":303,"props":794,"children":795},{"class":305,"line":419},[796,800,805,809,813],{"type":173,"tag":303,"props":797,"children":798},{"style":322},[799],{"type":179,"value":425},{"type":173,"tag":303,"props":801,"children":802},{"style":428},[803],{"type":179,"value":804}," Article",{"type":173,"tag":303,"props":806,"children":807},{"style":322},[808],{"type":179,"value":436},{"type":173,"tag":303,"props":810,"children":811},{"style":428},[812],{"type":179,"value":765},{"type":173,"tag":303,"props":814,"children":815},{"style":310},[816],{"type":179,"value":445},{"type":173,"tag":303,"props":818,"children":819},{"class":305,"line":448},[820,825,829],{"type":173,"tag":303,"props":821,"children":822},{"style":316},[823],{"type":179,"value":824},"  author",{"type":173,"tag":303,"props":826,"children":827},{"style":310},[828],{"type":179,"value":459},{"type":173,"tag":303,"props":830,"children":831},{"style":428},[832],{"type":179,"value":833}," string\n",{"type":173,"tag":303,"props":835,"children":836},{"class":305,"line":475},[837],{"type":173,"tag":303,"props":838,"children":839},{"style":310},[840],{"type":179,"value":532},{"type":173,"tag":303,"props":842,"children":843},{"class":305,"line":501},[844,848,852,856,860,864,868,872],{"type":173,"tag":303,"props":845,"children":846},{"style":322},[847],{"type":179,"value":559},{"type":173,"tag":303,"props":849,"children":850},{"style":310},[851],{"type":179,"value":375},{"type":173,"tag":303,"props":853,"children":854},{"style":378},[855],{"type":179,"value":568},{"type":173,"tag":303,"props":857,"children":858},{"style":310},[859],{"type":179,"value":573},{"type":173,"tag":303,"props":861,"children":862},{"style":310},[863],{"type":179,"value":578},{"type":173,"tag":303,"props":865,"children":866},{"style":362},[867],{"type":179,"value":583},{"type":173,"tag":303,"props":869,"children":870},{"style":586},[871],{"type":179,"value":589},{"type":173,"tag":303,"props":873,"children":874},{"style":378},[875],{"type":179,"value":594},{"type":173,"tag":303,"props":877,"children":878},{"class":305,"line":526},[879,884,889,894],{"type":173,"tag":303,"props":880,"children":881},{"style":310},[882],{"type":179,"value":883},"  '",{"type":173,"tag":303,"props":885,"children":886},{"style":343},[887],{"type":179,"value":888},"first-article",{"type":173,"tag":303,"props":890,"children":891},{"style":310},[892],{"type":179,"value":893},"'",{"type":173,"tag":303,"props":895,"children":896},{"style":310},[897],{"type":179,"value":898},",\n",{"type":173,"tag":303,"props":900,"children":901},{"class":305,"line":535},[902,906,910,914,918,923,927,931,935,940,944,949,953,958],{"type":173,"tag":303,"props":903,"children":904},{"style":310},[905],{"type":179,"value":603},{"type":173,"tag":303,"props":907,"children":908},{"style":322},[909],{"type":179,"value":608},{"type":173,"tag":303,"props":911,"children":912},{"style":586},[913],{"type":179,"value":613},{"type":173,"tag":303,"props":915,"children":916},{"style":310},[917],{"type":179,"value":313},{"type":173,"tag":303,"props":919,"children":920},{"style":428},[921],{"type":179,"value":922},"Article",{"type":173,"tag":303,"props":924,"children":925},{"style":310},[926],{"type":179,"value":627},{"type":173,"tag":303,"props":928,"children":929},{"style":378},[930],{"type":179,"value":632},{"type":173,"tag":303,"props":932,"children":933},{"style":310},[934],{"type":179,"value":893},{"type":173,"tag":303,"props":936,"children":937},{"style":343},[938],{"type":179,"value":939},"articles",{"type":173,"tag":303,"props":941,"children":942},{"style":310},[943],{"type":179,"value":893},{"type":173,"tag":303,"props":945,"children":946},{"style":378},[947],{"type":179,"value":948},")",{"type":173,"tag":303,"props":950,"children":951},{"style":310},[952],{"type":179,"value":254},{"type":173,"tag":303,"props":954,"children":955},{"style":586},[956],{"type":179,"value":957},"findOne",{"type":173,"tag":303,"props":959,"children":960},{"style":378},[961],{"type":179,"value":962},"()\n",{"type":173,"tag":303,"props":964,"children":965},{"class":305,"line":543},[966],{"type":173,"tag":303,"props":967,"children":968},{"style":378},[969],{"type":179,"value":656},{"type":173,"tag":303,"props":971,"children":972},{"class":305,"line":553},[973],{"type":173,"tag":303,"props":974,"children":975},{"style":547},[976],{"type":179,"value":977},"// data.value.author will be typed as well as markdown specific entries\n",{"type":173,"tag":303,"props":979,"children":980},{"class":305,"line":597},[981,985,989],{"type":173,"tag":303,"props":982,"children":983},{"style":310},[984],{"type":179,"value":673},{"type":173,"tag":303,"props":986,"children":987},{"style":316},[988],{"type":179,"value":319},{"type":173,"tag":303,"props":990,"children":991},{"style":310},[992],{"type":179,"value":355},{"type":173,"tag":188,"props":994,"children":996},{"id":995},"the-future",[997],{"type":179,"value":998},"The future",{"type":173,"tag":182,"props":1000,"children":1001},{},[1002],{"type":179,"value":1003},"TypeScript support is a strong focus for us.",{"type":173,"tag":182,"props":1005,"children":1006},{},[1007],{"type":179,"value":1008},"We want to provide fully generated type for each content in your project, that would allow the same as type augmentation.",{"type":173,"tag":182,"props":1010,"children":1011},{},[1012],{"type":179,"value":1013},"This is not yet implemented but will be part of the roadmap in upcoming months.",{"type":173,"tag":1015,"props":1016,"children":1018},"callout",{"type":1017},"warning",[1019],{"type":173,"tag":182,"props":1020,"children":1021},{},[1022],{"type":179,"value":1023},"You can track #1057 if you want to know more about roadmap for TypeScript support of front-matter keys.",{"type":173,"tag":1025,"props":1026,"children":1027},"style",{},[1028],{"type":179,"value":1029},"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":167,"searchDepth":358,"depth":358,"links":1031},[1032,1033,1034,1035],{"id":165,"depth":358,"text":21},{"id":257,"depth":358,"text":260},{"id":684,"depth":358,"text":687},{"id":995,"depth":358,"text":998},"markdown","content:2.usage:5.typescript.md","content","2.usage/5.typescript.md","md",[1042,3216],{"_path":41,"_dir":165,"_draft":166,"_partial":166,"_locale":167,"title":40,"description":1043,"body":1044,"_type":1036,"_id":3214,"_source":1038,"_file":3215,"_extension":1040},"Component and composable to display a navigation",{"type":170,"children":1045,"toc":3208},[1046,1052,1064,1083,1088,1094,1099,1117,1658,1664,1676,1928,1940,1951,2184,2206,2630,2636,2655,2693,2704,2726,2738,3005,3011,3028,3033,3145,3149,3204],{"type":173,"tag":174,"props":1047,"children":1049},{"id":1048},"self-managed-navigation",[1050],{"type":179,"value":1051},"Self-managed navigation",{"type":173,"tag":182,"props":1053,"children":1054},{},[1055,1057,1062],{"type":179,"value":1056},"Nuxt Content provides a component and composable to display a navigation based on the ",{"type":173,"tag":198,"props":1058,"children":1059},{"className":167},[1060],{"type":179,"value":1061},"content/",{"type":179,"value":1063}," directory structure and files.",{"type":173,"tag":182,"props":1065,"children":1066},{},[1067,1069,1074,1076,1081],{"type":179,"value":1068},"Based on the generated ",{"type":173,"tag":198,"props":1070,"children":1071},{"className":167},[1072],{"type":179,"value":1073},"_id",{"type":179,"value":1075}," and ",{"type":173,"tag":198,"props":1077,"children":1078},{"className":167},[1079],{"type":179,"value":1080},"_path",{"type":179,"value":1082}," keys, Nuxt Content generates a whole navigation structure for your content.",{"type":173,"tag":182,"props":1084,"children":1085},{},[1086],{"type":179,"value":1087},"It allows you to create advanced navigation components without having to maintain any querying logic related to it.",{"type":173,"tag":188,"props":1089,"children":1091},{"id":1090},"structure",[1092],{"type":179,"value":1093},"Structure",{"type":173,"tag":182,"props":1095,"children":1096},{},[1097],{"type":179,"value":1098},"The navigation object can be seen as a tree, representing the structure of your content sources in JSON format.",{"type":173,"tag":182,"props":1100,"children":1101},{},[1102,1104,1110,1111,1116],{"type":179,"value":1103},"It is divided into two types of nodes: ",{"type":173,"tag":1105,"props":1106,"children":1107},"strong",{},[1108],{"type":179,"value":1109},"pages",{"type":179,"value":1075},{"type":173,"tag":1105,"props":1112,"children":1113},{},[1114],{"type":179,"value":1115},"directories",{"type":179,"value":254},{"type":173,"tag":1118,"props":1119,"children":1120},"code-group",{},[1121,1130,1271,1398],{"type":173,"tag":293,"props":1122,"children":1125},{"code":1123,"filename":1124,"meta":167},"content/\n  my-directory/\n    page.md\n","Directory structure",[1126],{"type":173,"tag":198,"props":1127,"children":1128},{"__ignoreMap":167},[1129],{"type":179,"value":1123},{"type":173,"tag":293,"props":1131,"children":1136},{"code":1132,"filename":1133,"language":1134,"meta":167,"className":1135,"style":167},"{\n  \"title\": \"My Directory\",\n  \"_path\": \"/my-directory\",\n  \"children\": [\n    ...pagesNodes\n  ]\n}\n","Directory node","json","language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight",[1137],{"type":173,"tag":198,"props":1138,"children":1139},{"__ignoreMap":167},[1140,1148,1187,1223,1248,1256,1264],{"type":173,"tag":303,"props":1141,"children":1142},{"class":305,"line":306},[1143],{"type":173,"tag":303,"props":1144,"children":1145},{"style":310},[1146],{"type":179,"value":1147},"{\n",{"type":173,"tag":303,"props":1149,"children":1150},{"class":305,"line":358},[1151,1156,1161,1165,1169,1174,1179,1183],{"type":173,"tag":303,"props":1152,"children":1153},{"style":310},[1154],{"type":179,"value":1155},"  \"",{"type":173,"tag":303,"props":1157,"children":1158},{"style":322},[1159],{"type":179,"value":1160},"title",{"type":173,"tag":303,"props":1162,"children":1163},{"style":310},[1164],{"type":179,"value":340},{"type":173,"tag":303,"props":1166,"children":1167},{"style":310},[1168],{"type":179,"value":459},{"type":173,"tag":303,"props":1170,"children":1171},{"style":310},[1172],{"type":179,"value":1173}," \"",{"type":173,"tag":303,"props":1175,"children":1176},{"style":343},[1177],{"type":179,"value":1178},"My Directory",{"type":173,"tag":303,"props":1180,"children":1181},{"style":310},[1182],{"type":179,"value":340},{"type":173,"tag":303,"props":1184,"children":1185},{"style":310},[1186],{"type":179,"value":898},{"type":173,"tag":303,"props":1188,"children":1189},{"class":305,"line":409},[1190,1194,1198,1202,1206,1210,1215,1219],{"type":173,"tag":303,"props":1191,"children":1192},{"style":310},[1193],{"type":179,"value":1155},{"type":173,"tag":303,"props":1195,"children":1196},{"style":322},[1197],{"type":179,"value":1080},{"type":173,"tag":303,"props":1199,"children":1200},{"style":310},[1201],{"type":179,"value":340},{"type":173,"tag":303,"props":1203,"children":1204},{"style":310},[1205],{"type":179,"value":459},{"type":173,"tag":303,"props":1207,"children":1208},{"style":310},[1209],{"type":179,"value":1173},{"type":173,"tag":303,"props":1211,"children":1212},{"style":343},[1213],{"type":179,"value":1214},"/my-directory",{"type":173,"tag":303,"props":1216,"children":1217},{"style":310},[1218],{"type":179,"value":340},{"type":173,"tag":303,"props":1220,"children":1221},{"style":310},[1222],{"type":179,"value":898},{"type":173,"tag":303,"props":1224,"children":1225},{"class":305,"line":419},[1226,1230,1235,1239,1243],{"type":173,"tag":303,"props":1227,"children":1228},{"style":310},[1229],{"type":179,"value":1155},{"type":173,"tag":303,"props":1231,"children":1232},{"style":322},[1233],{"type":179,"value":1234},"children",{"type":173,"tag":303,"props":1236,"children":1237},{"style":310},[1238],{"type":179,"value":340},{"type":173,"tag":303,"props":1240,"children":1241},{"style":310},[1242],{"type":179,"value":459},{"type":173,"tag":303,"props":1244,"children":1245},{"style":310},[1246],{"type":179,"value":1247}," [\n",{"type":173,"tag":303,"props":1249,"children":1250},{"class":305,"line":448},[1251],{"type":173,"tag":303,"props":1252,"children":1253},{"style":378},[1254],{"type":179,"value":1255},"    ...pagesNodes\n",{"type":173,"tag":303,"props":1257,"children":1258},{"class":305,"line":475},[1259],{"type":173,"tag":303,"props":1260,"children":1261},{"style":310},[1262],{"type":179,"value":1263},"  ]\n",{"type":173,"tag":303,"props":1265,"children":1266},{"class":305,"line":501},[1267],{"type":173,"tag":303,"props":1268,"children":1269},{"style":310},[1270],{"type":179,"value":532},{"type":173,"tag":293,"props":1272,"children":1275},{"code":1273,"filename":1274,"language":1134,"meta":167,"className":1135,"style":167},"{\n  \"title\": \"Page title\",\n  \"_path\": \"/my-directory/my-page\",\n  \"_id\": \"content:my-directory:page.md\"\n}\n","Page node",[1276],{"type":173,"tag":198,"props":1277,"children":1278},{"__ignoreMap":167},[1279,1286,1322,1358,1391],{"type":173,"tag":303,"props":1280,"children":1281},{"class":305,"line":306},[1282],{"type":173,"tag":303,"props":1283,"children":1284},{"style":310},[1285],{"type":179,"value":1147},{"type":173,"tag":303,"props":1287,"children":1288},{"class":305,"line":358},[1289,1293,1297,1301,1305,1309,1314,1318],{"type":173,"tag":303,"props":1290,"children":1291},{"style":310},[1292],{"type":179,"value":1155},{"type":173,"tag":303,"props":1294,"children":1295},{"style":322},[1296],{"type":179,"value":1160},{"type":173,"tag":303,"props":1298,"children":1299},{"style":310},[1300],{"type":179,"value":340},{"type":173,"tag":303,"props":1302,"children":1303},{"style":310},[1304],{"type":179,"value":459},{"type":173,"tag":303,"props":1306,"children":1307},{"style":310},[1308],{"type":179,"value":1173},{"type":173,"tag":303,"props":1310,"children":1311},{"style":343},[1312],{"type":179,"value":1313},"Page title",{"type":173,"tag":303,"props":1315,"children":1316},{"style":310},[1317],{"type":179,"value":340},{"type":173,"tag":303,"props":1319,"children":1320},{"style":310},[1321],{"type":179,"value":898},{"type":173,"tag":303,"props":1323,"children":1324},{"class":305,"line":409},[1325,1329,1333,1337,1341,1345,1350,1354],{"type":173,"tag":303,"props":1326,"children":1327},{"style":310},[1328],{"type":179,"value":1155},{"type":173,"tag":303,"props":1330,"children":1331},{"style":322},[1332],{"type":179,"value":1080},{"type":173,"tag":303,"props":1334,"children":1335},{"style":310},[1336],{"type":179,"value":340},{"type":173,"tag":303,"props":1338,"children":1339},{"style":310},[1340],{"type":179,"value":459},{"type":173,"tag":303,"props":1342,"children":1343},{"style":310},[1344],{"type":179,"value":1173},{"type":173,"tag":303,"props":1346,"children":1347},{"style":343},[1348],{"type":179,"value":1349},"/my-directory/my-page",{"type":173,"tag":303,"props":1351,"children":1352},{"style":310},[1353],{"type":179,"value":340},{"type":173,"tag":303,"props":1355,"children":1356},{"style":310},[1357],{"type":179,"value":898},{"type":173,"tag":303,"props":1359,"children":1360},{"class":305,"line":419},[1361,1365,1369,1373,1377,1381,1386],{"type":173,"tag":303,"props":1362,"children":1363},{"style":310},[1364],{"type":179,"value":1155},{"type":173,"tag":303,"props":1366,"children":1367},{"style":322},[1368],{"type":179,"value":1073},{"type":173,"tag":303,"props":1370,"children":1371},{"style":310},[1372],{"type":179,"value":340},{"type":173,"tag":303,"props":1374,"children":1375},{"style":310},[1376],{"type":179,"value":459},{"type":173,"tag":303,"props":1378,"children":1379},{"style":310},[1380],{"type":179,"value":1173},{"type":173,"tag":303,"props":1382,"children":1383},{"style":343},[1384],{"type":179,"value":1385},"content:my-directory:page.md",{"type":173,"tag":303,"props":1387,"children":1388},{"style":310},[1389],{"type":179,"value":1390},"\"\n",{"type":173,"tag":303,"props":1392,"children":1393},{"class":305,"line":448},[1394],{"type":173,"tag":303,"props":1395,"children":1396},{"style":310},[1397],{"type":179,"value":532},{"type":173,"tag":293,"props":1399,"children":1402},{"code":1400,"filename":1401,"language":1134,"meta":167,"className":1135,"style":167},"[\n  {\n    \"title\": \"My Directory\",\n    \"_path\": \"/my-directory\",\n    \"children\": [\n      {\n        \"title\": \"Page title\",\n        \"_path\": \"/my-directory/my-page\",\n        \"_id\": \"content:my-directory:page.md\"\n      }\n    ]\n  }\n]\n","Complete navigation",[1403],{"type":173,"tag":198,"props":1404,"children":1405},{"__ignoreMap":167},[1406,1414,1422,1458,1493,1516,1524,1560,1595,1626,1634,1642,1650],{"type":173,"tag":303,"props":1407,"children":1408},{"class":305,"line":306},[1409],{"type":173,"tag":303,"props":1410,"children":1411},{"style":310},[1412],{"type":179,"value":1413},"[\n",{"type":173,"tag":303,"props":1415,"children":1416},{"class":305,"line":358},[1417],{"type":173,"tag":303,"props":1418,"children":1419},{"style":310},[1420],{"type":179,"value":1421},"  {\n",{"type":173,"tag":303,"props":1423,"children":1424},{"class":305,"line":409},[1425,1430,1434,1438,1442,1446,1450,1454],{"type":173,"tag":303,"props":1426,"children":1427},{"style":310},[1428],{"type":179,"value":1429},"    \"",{"type":173,"tag":303,"props":1431,"children":1432},{"style":322},[1433],{"type":179,"value":1160},{"type":173,"tag":303,"props":1435,"children":1436},{"style":310},[1437],{"type":179,"value":340},{"type":173,"tag":303,"props":1439,"children":1440},{"style":310},[1441],{"type":179,"value":459},{"type":173,"tag":303,"props":1443,"children":1444},{"style":310},[1445],{"type":179,"value":1173},{"type":173,"tag":303,"props":1447,"children":1448},{"style":343},[1449],{"type":179,"value":1178},{"type":173,"tag":303,"props":1451,"children":1452},{"style":310},[1453],{"type":179,"value":340},{"type":173,"tag":303,"props":1455,"children":1456},{"style":310},[1457],{"type":179,"value":898},{"type":173,"tag":303,"props":1459,"children":1460},{"class":305,"line":419},[1461,1465,1469,1473,1477,1481,1485,1489],{"type":173,"tag":303,"props":1462,"children":1463},{"style":310},[1464],{"type":179,"value":1429},{"type":173,"tag":303,"props":1466,"children":1467},{"style":322},[1468],{"type":179,"value":1080},{"type":173,"tag":303,"props":1470,"children":1471},{"style":310},[1472],{"type":179,"value":340},{"type":173,"tag":303,"props":1474,"children":1475},{"style":310},[1476],{"type":179,"value":459},{"type":173,"tag":303,"props":1478,"children":1479},{"style":310},[1480],{"type":179,"value":1173},{"type":173,"tag":303,"props":1482,"children":1483},{"style":343},[1484],{"type":179,"value":1214},{"type":173,"tag":303,"props":1486,"children":1487},{"style":310},[1488],{"type":179,"value":340},{"type":173,"tag":303,"props":1490,"children":1491},{"style":310},[1492],{"type":179,"value":898},{"type":173,"tag":303,"props":1494,"children":1495},{"class":305,"line":448},[1496,1500,1504,1508,1512],{"type":173,"tag":303,"props":1497,"children":1498},{"style":310},[1499],{"type":179,"value":1429},{"type":173,"tag":303,"props":1501,"children":1502},{"style":322},[1503],{"type":179,"value":1234},{"type":173,"tag":303,"props":1505,"children":1506},{"style":310},[1507],{"type":179,"value":340},{"type":173,"tag":303,"props":1509,"children":1510},{"style":310},[1511],{"type":179,"value":459},{"type":173,"tag":303,"props":1513,"children":1514},{"style":310},[1515],{"type":179,"value":1247},{"type":173,"tag":303,"props":1517,"children":1518},{"class":305,"line":475},[1519],{"type":173,"tag":303,"props":1520,"children":1521},{"style":310},[1522],{"type":179,"value":1523},"      {\n",{"type":173,"tag":303,"props":1525,"children":1526},{"class":305,"line":501},[1527,1532,1536,1540,1544,1548,1552,1556],{"type":173,"tag":303,"props":1528,"children":1529},{"style":310},[1530],{"type":179,"value":1531},"        \"",{"type":173,"tag":303,"props":1533,"children":1534},{"style":428},[1535],{"type":179,"value":1160},{"type":173,"tag":303,"props":1537,"children":1538},{"style":310},[1539],{"type":179,"value":340},{"type":173,"tag":303,"props":1541,"children":1542},{"style":310},[1543],{"type":179,"value":459},{"type":173,"tag":303,"props":1545,"children":1546},{"style":310},[1547],{"type":179,"value":1173},{"type":173,"tag":303,"props":1549,"children":1550},{"style":343},[1551],{"type":179,"value":1313},{"type":173,"tag":303,"props":1553,"children":1554},{"style":310},[1555],{"type":179,"value":340},{"type":173,"tag":303,"props":1557,"children":1558},{"style":310},[1559],{"type":179,"value":898},{"type":173,"tag":303,"props":1561,"children":1562},{"class":305,"line":526},[1563,1567,1571,1575,1579,1583,1587,1591],{"type":173,"tag":303,"props":1564,"children":1565},{"style":310},[1566],{"type":179,"value":1531},{"type":173,"tag":303,"props":1568,"children":1569},{"style":428},[1570],{"type":179,"value":1080},{"type":173,"tag":303,"props":1572,"children":1573},{"style":310},[1574],{"type":179,"value":340},{"type":173,"tag":303,"props":1576,"children":1577},{"style":310},[1578],{"type":179,"value":459},{"type":173,"tag":303,"props":1580,"children":1581},{"style":310},[1582],{"type":179,"value":1173},{"type":173,"tag":303,"props":1584,"children":1585},{"style":343},[1586],{"type":179,"value":1349},{"type":173,"tag":303,"props":1588,"children":1589},{"style":310},[1590],{"type":179,"value":340},{"type":173,"tag":303,"props":1592,"children":1593},{"style":310},[1594],{"type":179,"value":898},{"type":173,"tag":303,"props":1596,"children":1597},{"class":305,"line":535},[1598,1602,1606,1610,1614,1618,1622],{"type":173,"tag":303,"props":1599,"children":1600},{"style":310},[1601],{"type":179,"value":1531},{"type":173,"tag":303,"props":1603,"children":1604},{"style":428},[1605],{"type":179,"value":1073},{"type":173,"tag":303,"props":1607,"children":1608},{"style":310},[1609],{"type":179,"value":340},{"type":173,"tag":303,"props":1611,"children":1612},{"style":310},[1613],{"type":179,"value":459},{"type":173,"tag":303,"props":1615,"children":1616},{"style":310},[1617],{"type":179,"value":1173},{"type":173,"tag":303,"props":1619,"children":1620},{"style":343},[1621],{"type":179,"value":1385},{"type":173,"tag":303,"props":1623,"children":1624},{"style":310},[1625],{"type":179,"value":1390},{"type":173,"tag":303,"props":1627,"children":1628},{"class":305,"line":543},[1629],{"type":173,"tag":303,"props":1630,"children":1631},{"style":310},[1632],{"type":179,"value":1633},"      }\n",{"type":173,"tag":303,"props":1635,"children":1636},{"class":305,"line":553},[1637],{"type":173,"tag":303,"props":1638,"children":1639},{"style":310},[1640],{"type":179,"value":1641},"    ]\n",{"type":173,"tag":303,"props":1643,"children":1644},{"class":305,"line":597},[1645],{"type":173,"tag":303,"props":1646,"children":1647},{"style":310},[1648],{"type":179,"value":1649},"  }\n",{"type":173,"tag":303,"props":1651,"children":1652},{"class":305,"line":659},[1653],{"type":173,"tag":303,"props":1654,"children":1655},{"style":310},[1656],{"type":179,"value":1657},"]\n",{"type":173,"tag":188,"props":1659,"children":1661},{"id":1660},"custom-keys",[1662],{"type":179,"value":1663},"Custom keys",{"type":173,"tag":182,"props":1665,"children":1666},{},[1667,1669,1674],{"type":179,"value":1668},"You can use the ",{"type":173,"tag":198,"props":1670,"children":1671},{"className":167},[1672],{"type":179,"value":1673},"navigation",{"type":179,"value":1675}," property in the front-matter of your content files to add keys to the navigation object.",{"type":173,"tag":1118,"props":1677,"children":1678},{},[1679,1785],{"type":173,"tag":293,"props":1680,"children":1684},{"code":1681,"filename":1682,"language":1040,"meta":167,"className":1683,"style":167},"---\nnavigation:\n  title: 'Home'\n  icon: '🏡'\n---\n\n# Welcome\n","index.md","language-md shiki shiki-themes material-theme-lighter material-theme material-theme-palenight",[1685],{"type":173,"tag":198,"props":1686,"children":1687},{"__ignoreMap":167},[1688,1696,1708,1733,1758,1765,1772],{"type":173,"tag":303,"props":1689,"children":1690},{"class":305,"line":306},[1691],{"type":173,"tag":303,"props":1692,"children":1693},{"style":378},[1694],{"type":179,"value":1695},"---\n",{"type":173,"tag":303,"props":1697,"children":1698},{"class":305,"line":358},[1699,1703],{"type":173,"tag":303,"props":1700,"children":1701},{"style":316},[1702],{"type":179,"value":1673},{"type":173,"tag":303,"props":1704,"children":1705},{"style":310},[1706],{"type":179,"value":1707},":\n",{"type":173,"tag":303,"props":1709,"children":1710},{"class":305,"line":409},[1711,1716,1720,1724,1729],{"type":173,"tag":303,"props":1712,"children":1713},{"style":316},[1714],{"type":179,"value":1715},"  title",{"type":173,"tag":303,"props":1717,"children":1718},{"style":310},[1719],{"type":179,"value":459},{"type":173,"tag":303,"props":1721,"children":1722},{"style":310},[1723],{"type":179,"value":396},{"type":173,"tag":303,"props":1725,"children":1726},{"style":343},[1727],{"type":179,"value":1728},"Home",{"type":173,"tag":303,"props":1730,"children":1731},{"style":310},[1732],{"type":179,"value":406},{"type":173,"tag":303,"props":1734,"children":1735},{"class":305,"line":419},[1736,1741,1745,1749,1754],{"type":173,"tag":303,"props":1737,"children":1738},{"style":316},[1739],{"type":179,"value":1740},"  icon",{"type":173,"tag":303,"props":1742,"children":1743},{"style":310},[1744],{"type":179,"value":459},{"type":173,"tag":303,"props":1746,"children":1747},{"style":310},[1748],{"type":179,"value":396},{"type":173,"tag":303,"props":1750,"children":1751},{"style":343},[1752],{"type":179,"value":1753},"🏡",{"type":173,"tag":303,"props":1755,"children":1756},{"style":310},[1757],{"type":179,"value":406},{"type":173,"tag":303,"props":1759,"children":1760},{"class":305,"line":448},[1761],{"type":173,"tag":303,"props":1762,"children":1763},{"style":378},[1764],{"type":179,"value":1695},{"type":173,"tag":303,"props":1766,"children":1767},{"class":305,"line":475},[1768],{"type":173,"tag":303,"props":1769,"children":1770},{"emptyLinePlaceholder":413},[1771],{"type":179,"value":416},{"type":173,"tag":303,"props":1773,"children":1774},{"class":305,"line":501},[1775,1780],{"type":173,"tag":303,"props":1776,"children":1777},{"style":310},[1778],{"type":179,"value":1779},"# ",{"type":173,"tag":303,"props":1781,"children":1782},{"style":428},[1783],{"type":179,"value":1784},"Welcome\n",{"type":173,"tag":293,"props":1786,"children":1789},{"code":1787,"filename":1788,"language":1134,"meta":167,"className":1135,"style":167},"[\n  {\n    \"title\": \"Home\",\n    \"icon\": \"🏡\",\n    \"_path\": \"/\",\n  }\n]\n","Navigation",[1790],{"type":173,"tag":198,"props":1791,"children":1792},{"__ignoreMap":167},[1793,1800,1807,1842,1878,1914,1921],{"type":173,"tag":303,"props":1794,"children":1795},{"class":305,"line":306},[1796],{"type":173,"tag":303,"props":1797,"children":1798},{"style":310},[1799],{"type":179,"value":1413},{"type":173,"tag":303,"props":1801,"children":1802},{"class":305,"line":358},[1803],{"type":173,"tag":303,"props":1804,"children":1805},{"style":310},[1806],{"type":179,"value":1421},{"type":173,"tag":303,"props":1808,"children":1809},{"class":305,"line":409},[1810,1814,1818,1822,1826,1830,1834,1838],{"type":173,"tag":303,"props":1811,"children":1812},{"style":310},[1813],{"type":179,"value":1429},{"type":173,"tag":303,"props":1815,"children":1816},{"style":322},[1817],{"type":179,"value":1160},{"type":173,"tag":303,"props":1819,"children":1820},{"style":310},[1821],{"type":179,"value":340},{"type":173,"tag":303,"props":1823,"children":1824},{"style":310},[1825],{"type":179,"value":459},{"type":173,"tag":303,"props":1827,"children":1828},{"style":310},[1829],{"type":179,"value":1173},{"type":173,"tag":303,"props":1831,"children":1832},{"style":343},[1833],{"type":179,"value":1728},{"type":173,"tag":303,"props":1835,"children":1836},{"style":310},[1837],{"type":179,"value":340},{"type":173,"tag":303,"props":1839,"children":1840},{"style":310},[1841],{"type":179,"value":898},{"type":173,"tag":303,"props":1843,"children":1844},{"class":305,"line":419},[1845,1849,1854,1858,1862,1866,1870,1874],{"type":173,"tag":303,"props":1846,"children":1847},{"style":310},[1848],{"type":179,"value":1429},{"type":173,"tag":303,"props":1850,"children":1851},{"style":322},[1852],{"type":179,"value":1853},"icon",{"type":173,"tag":303,"props":1855,"children":1856},{"style":310},[1857],{"type":179,"value":340},{"type":173,"tag":303,"props":1859,"children":1860},{"style":310},[1861],{"type":179,"value":459},{"type":173,"tag":303,"props":1863,"children":1864},{"style":310},[1865],{"type":179,"value":1173},{"type":173,"tag":303,"props":1867,"children":1868},{"style":343},[1869],{"type":179,"value":1753},{"type":173,"tag":303,"props":1871,"children":1872},{"style":310},[1873],{"type":179,"value":340},{"type":173,"tag":303,"props":1875,"children":1876},{"style":310},[1877],{"type":179,"value":898},{"type":173,"tag":303,"props":1879,"children":1880},{"class":305,"line":448},[1881,1885,1889,1893,1897,1901,1906,1910],{"type":173,"tag":303,"props":1882,"children":1883},{"style":310},[1884],{"type":179,"value":1429},{"type":173,"tag":303,"props":1886,"children":1887},{"style":322},[1888],{"type":179,"value":1080},{"type":173,"tag":303,"props":1890,"children":1891},{"style":310},[1892],{"type":179,"value":340},{"type":173,"tag":303,"props":1894,"children":1895},{"style":310},[1896],{"type":179,"value":459},{"type":173,"tag":303,"props":1898,"children":1899},{"style":310},[1900],{"type":179,"value":1173},{"type":173,"tag":303,"props":1902,"children":1903},{"style":343},[1904],{"type":179,"value":1905},"/",{"type":173,"tag":303,"props":1907,"children":1908},{"style":310},[1909],{"type":179,"value":340},{"type":173,"tag":303,"props":1911,"children":1912},{"style":310},[1913],{"type":179,"value":898},{"type":173,"tag":303,"props":1915,"children":1916},{"class":305,"line":475},[1917],{"type":173,"tag":303,"props":1918,"children":1919},{"style":310},[1920],{"type":179,"value":1649},{"type":173,"tag":303,"props":1922,"children":1923},{"class":305,"line":501},[1924],{"type":173,"tag":303,"props":1925,"children":1926},{"style":310},[1927],{"type":179,"value":1657},{"type":173,"tag":182,"props":1929,"children":1930},{},[1931,1933,1938],{"type":179,"value":1932},"Alternatively, the navigation also allows you to configure directory nodes via ",{"type":173,"tag":198,"props":1934,"children":1935},{"className":167},[1936],{"type":179,"value":1937},"_dir.yml",{"type":179,"value":1939}," files.",{"type":173,"tag":182,"props":1941,"children":1942},{},[1943,1945,1949],{"type":179,"value":1944},"It allows you to overwrite the ",{"type":173,"tag":198,"props":1946,"children":1947},{"className":167},[1948],{"type":179,"value":1160},{"type":179,"value":1950}," and custom properties to directory nodes in navigation.",{"type":173,"tag":1118,"props":1952,"children":1953},{},[1954,1962,2020],{"type":173,"tag":293,"props":1955,"children":1957},{"code":1956,"filename":1124,"meta":167},"content/\n  my-directory/\n    _dir.yml\n    page.md\n",[1958],{"type":173,"tag":198,"props":1959,"children":1960},{"__ignoreMap":167},[1961],{"type":179,"value":1956},{"type":173,"tag":293,"props":1963,"children":1967},{"code":1964,"filename":1937,"language":1965,"meta":167,"className":1966,"style":167},"title: 'My awesome directory'\nnavigation.icon: '📁'\n","yaml","language-yaml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight",[1968],{"type":173,"tag":198,"props":1969,"children":1970},{"__ignoreMap":167},[1971,1995],{"type":173,"tag":303,"props":1972,"children":1973},{"class":305,"line":306},[1974,1978,1982,1986,1991],{"type":173,"tag":303,"props":1975,"children":1976},{"style":316},[1977],{"type":179,"value":1160},{"type":173,"tag":303,"props":1979,"children":1980},{"style":310},[1981],{"type":179,"value":459},{"type":173,"tag":303,"props":1983,"children":1984},{"style":310},[1985],{"type":179,"value":396},{"type":173,"tag":303,"props":1987,"children":1988},{"style":343},[1989],{"type":179,"value":1990},"My awesome directory",{"type":173,"tag":303,"props":1992,"children":1993},{"style":310},[1994],{"type":179,"value":406},{"type":173,"tag":303,"props":1996,"children":1997},{"class":305,"line":358},[1998,2003,2007,2011,2016],{"type":173,"tag":303,"props":1999,"children":2000},{"style":316},[2001],{"type":179,"value":2002},"navigation.icon",{"type":173,"tag":303,"props":2004,"children":2005},{"style":310},[2006],{"type":179,"value":459},{"type":173,"tag":303,"props":2008,"children":2009},{"style":310},[2010],{"type":179,"value":396},{"type":173,"tag":303,"props":2012,"children":2013},{"style":343},[2014],{"type":179,"value":2015},"📁",{"type":173,"tag":303,"props":2017,"children":2018},{"style":310},[2019],{"type":179,"value":406},{"type":173,"tag":293,"props":2021,"children":2023},{"code":2022,"filename":1788,"language":1134,"meta":167,"className":1135,"style":167},"{\n  \"title\": \"My awesome directory\",\n  \"icon\": \"📁\",\n  \"_path\": \"/my-directory\",\n  \"children\": [\n    ...\n  ]\n}\n",[2024],{"type":173,"tag":198,"props":2025,"children":2026},{"__ignoreMap":167},[2027,2034,2069,2104,2139,2162,2170,2177],{"type":173,"tag":303,"props":2028,"children":2029},{"class":305,"line":306},[2030],{"type":173,"tag":303,"props":2031,"children":2032},{"style":310},[2033],{"type":179,"value":1147},{"type":173,"tag":303,"props":2035,"children":2036},{"class":305,"line":358},[2037,2041,2045,2049,2053,2057,2061,2065],{"type":173,"tag":303,"props":2038,"children":2039},{"style":310},[2040],{"type":179,"value":1155},{"type":173,"tag":303,"props":2042,"children":2043},{"style":322},[2044],{"type":179,"value":1160},{"type":173,"tag":303,"props":2046,"children":2047},{"style":310},[2048],{"type":179,"value":340},{"type":173,"tag":303,"props":2050,"children":2051},{"style":310},[2052],{"type":179,"value":459},{"type":173,"tag":303,"props":2054,"children":2055},{"style":310},[2056],{"type":179,"value":1173},{"type":173,"tag":303,"props":2058,"children":2059},{"style":343},[2060],{"type":179,"value":1990},{"type":173,"tag":303,"props":2062,"children":2063},{"style":310},[2064],{"type":179,"value":340},{"type":173,"tag":303,"props":2066,"children":2067},{"style":310},[2068],{"type":179,"value":898},{"type":173,"tag":303,"props":2070,"children":2071},{"class":305,"line":409},[2072,2076,2080,2084,2088,2092,2096,2100],{"type":173,"tag":303,"props":2073,"children":2074},{"style":310},[2075],{"type":179,"value":1155},{"type":173,"tag":303,"props":2077,"children":2078},{"style":322},[2079],{"type":179,"value":1853},{"type":173,"tag":303,"props":2081,"children":2082},{"style":310},[2083],{"type":179,"value":340},{"type":173,"tag":303,"props":2085,"children":2086},{"style":310},[2087],{"type":179,"value":459},{"type":173,"tag":303,"props":2089,"children":2090},{"style":310},[2091],{"type":179,"value":1173},{"type":173,"tag":303,"props":2093,"children":2094},{"style":343},[2095],{"type":179,"value":2015},{"type":173,"tag":303,"props":2097,"children":2098},{"style":310},[2099],{"type":179,"value":340},{"type":173,"tag":303,"props":2101,"children":2102},{"style":310},[2103],{"type":179,"value":898},{"type":173,"tag":303,"props":2105,"children":2106},{"class":305,"line":419},[2107,2111,2115,2119,2123,2127,2131,2135],{"type":173,"tag":303,"props":2108,"children":2109},{"style":310},[2110],{"type":179,"value":1155},{"type":173,"tag":303,"props":2112,"children":2113},{"style":322},[2114],{"type":179,"value":1080},{"type":173,"tag":303,"props":2116,"children":2117},{"style":310},[2118],{"type":179,"value":340},{"type":173,"tag":303,"props":2120,"children":2121},{"style":310},[2122],{"type":179,"value":459},{"type":173,"tag":303,"props":2124,"children":2125},{"style":310},[2126],{"type":179,"value":1173},{"type":173,"tag":303,"props":2128,"children":2129},{"style":343},[2130],{"type":179,"value":1214},{"type":173,"tag":303,"props":2132,"children":2133},{"style":310},[2134],{"type":179,"value":340},{"type":173,"tag":303,"props":2136,"children":2137},{"style":310},[2138],{"type":179,"value":898},{"type":173,"tag":303,"props":2140,"children":2141},{"class":305,"line":448},[2142,2146,2150,2154,2158],{"type":173,"tag":303,"props":2143,"children":2144},{"style":310},[2145],{"type":179,"value":1155},{"type":173,"tag":303,"props":2147,"children":2148},{"style":322},[2149],{"type":179,"value":1234},{"type":173,"tag":303,"props":2151,"children":2152},{"style":310},[2153],{"type":179,"value":340},{"type":173,"tag":303,"props":2155,"children":2156},{"style":310},[2157],{"type":179,"value":459},{"type":173,"tag":303,"props":2159,"children":2160},{"style":310},[2161],{"type":179,"value":1247},{"type":173,"tag":303,"props":2163,"children":2164},{"class":305,"line":475},[2165],{"type":173,"tag":303,"props":2166,"children":2167},{"style":378},[2168],{"type":179,"value":2169},"    ...\n",{"type":173,"tag":303,"props":2171,"children":2172},{"class":305,"line":501},[2173],{"type":173,"tag":303,"props":2174,"children":2175},{"style":310},[2176],{"type":179,"value":1263},{"type":173,"tag":303,"props":2178,"children":2179},{"class":305,"line":526},[2180],{"type":173,"tag":303,"props":2181,"children":2182},{"style":310},[2183],{"type":179,"value":532},{"type":173,"tag":182,"props":2185,"children":2186},{},[2187,2189,2198,2200,2205],{"type":179,"value":2188},"If you want to use top-level keys in the front-matter to be included in the navigation object, use the ",{"type":173,"tag":205,"props":2190,"children":2192},{"href":2191},"/get-started/configuration#navigation",[2193],{"type":173,"tag":198,"props":2194,"children":2195},{"className":167},[2196],{"type":179,"value":2197},"content.navigation.fields",{"type":179,"value":2199}," property in the ",{"type":173,"tag":198,"props":2201,"children":2202},{"className":167},[2203],{"type":179,"value":2204},"nuxt.config",{"type":179,"value":459},{"type":173,"tag":1118,"props":2207,"children":2208},{},[2209,2344,2430],{"type":173,"tag":293,"props":2210,"children":2214},{"code":2211,"filename":2212,"language":346,"meta":167,"className":2213,"style":167},"defineNuxtConfig({\n  content: {\n    navigation: {\n      fields: ['author', 'publishedAt']\n    }\n  }\n})\n","nuxt.config.ts","language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight",[2215],{"type":173,"tag":198,"props":2216,"children":2217},{"__ignoreMap":167},[2218,2234,2250,2266,2318,2326,2333],{"type":173,"tag":303,"props":2219,"children":2220},{"class":305,"line":306},[2221,2226,2230],{"type":173,"tag":303,"props":2222,"children":2223},{"style":586},[2224],{"type":179,"value":2225},"defineNuxtConfig",{"type":173,"tag":303,"props":2227,"children":2228},{"style":378},[2229],{"type":179,"value":632},{"type":173,"tag":303,"props":2231,"children":2232},{"style":310},[2233],{"type":179,"value":1147},{"type":173,"tag":303,"props":2235,"children":2236},{"class":305,"line":358},[2237,2242,2246],{"type":173,"tag":303,"props":2238,"children":2239},{"style":316},[2240],{"type":179,"value":2241},"  content",{"type":173,"tag":303,"props":2243,"children":2244},{"style":310},[2245],{"type":179,"value":459},{"type":173,"tag":303,"props":2247,"children":2248},{"style":310},[2249],{"type":179,"value":445},{"type":173,"tag":303,"props":2251,"children":2252},{"class":305,"line":409},[2253,2258,2262],{"type":173,"tag":303,"props":2254,"children":2255},{"style":316},[2256],{"type":179,"value":2257},"    navigation",{"type":173,"tag":303,"props":2259,"children":2260},{"style":310},[2261],{"type":179,"value":459},{"type":173,"tag":303,"props":2263,"children":2264},{"style":310},[2265],{"type":179,"value":445},{"type":173,"tag":303,"props":2267,"children":2268},{"class":305,"line":419},[2269,2274,2278,2283,2287,2292,2296,2301,2305,2310,2314],{"type":173,"tag":303,"props":2270,"children":2271},{"style":316},[2272],{"type":179,"value":2273},"      fields",{"type":173,"tag":303,"props":2275,"children":2276},{"style":310},[2277],{"type":179,"value":459},{"type":173,"tag":303,"props":2279,"children":2280},{"style":378},[2281],{"type":179,"value":2282}," [",{"type":173,"tag":303,"props":2284,"children":2285},{"style":310},[2286],{"type":179,"value":893},{"type":173,"tag":303,"props":2288,"children":2289},{"style":343},[2290],{"type":179,"value":2291},"author",{"type":173,"tag":303,"props":2293,"children":2294},{"style":310},[2295],{"type":179,"value":893},{"type":173,"tag":303,"props":2297,"children":2298},{"style":310},[2299],{"type":179,"value":2300},",",{"type":173,"tag":303,"props":2302,"children":2303},{"style":310},[2304],{"type":179,"value":396},{"type":173,"tag":303,"props":2306,"children":2307},{"style":343},[2308],{"type":179,"value":2309},"publishedAt",{"type":173,"tag":303,"props":2311,"children":2312},{"style":310},[2313],{"type":179,"value":893},{"type":173,"tag":303,"props":2315,"children":2316},{"style":378},[2317],{"type":179,"value":1657},{"type":173,"tag":303,"props":2319,"children":2320},{"class":305,"line":448},[2321],{"type":173,"tag":303,"props":2322,"children":2323},{"style":310},[2324],{"type":179,"value":2325},"    }\n",{"type":173,"tag":303,"props":2327,"children":2328},{"class":305,"line":475},[2329],{"type":173,"tag":303,"props":2330,"children":2331},{"style":310},[2332],{"type":179,"value":1649},{"type":173,"tag":303,"props":2334,"children":2335},{"class":305,"line":501},[2336,2340],{"type":173,"tag":303,"props":2337,"children":2338},{"style":310},[2339],{"type":179,"value":573},{"type":173,"tag":303,"props":2341,"children":2342},{"style":378},[2343],{"type":179,"value":656},{"type":173,"tag":293,"props":2345,"children":2348},{"code":2346,"filename":2347,"language":1040,"meta":167,"className":1683,"style":167},"---\ntitle: My Page\nauthor: 'Sébastien Chopin'\npublishedAt: '15-06-2022'\n---\n","page.md",[2349],{"type":173,"tag":198,"props":2350,"children":2351},{"__ignoreMap":167},[2352,2359,2375,2399,2423],{"type":173,"tag":303,"props":2353,"children":2354},{"class":305,"line":306},[2355],{"type":173,"tag":303,"props":2356,"children":2357},{"style":378},[2358],{"type":179,"value":1695},{"type":173,"tag":303,"props":2360,"children":2361},{"class":305,"line":358},[2362,2366,2370],{"type":173,"tag":303,"props":2363,"children":2364},{"style":316},[2365],{"type":179,"value":1160},{"type":173,"tag":303,"props":2367,"children":2368},{"style":310},[2369],{"type":179,"value":459},{"type":173,"tag":303,"props":2371,"children":2372},{"style":343},[2373],{"type":179,"value":2374}," My Page\n",{"type":173,"tag":303,"props":2376,"children":2377},{"class":305,"line":409},[2378,2382,2386,2390,2395],{"type":173,"tag":303,"props":2379,"children":2380},{"style":316},[2381],{"type":179,"value":2291},{"type":173,"tag":303,"props":2383,"children":2384},{"style":310},[2385],{"type":179,"value":459},{"type":173,"tag":303,"props":2387,"children":2388},{"style":310},[2389],{"type":179,"value":396},{"type":173,"tag":303,"props":2391,"children":2392},{"style":343},[2393],{"type":179,"value":2394},"Sébastien Chopin",{"type":173,"tag":303,"props":2396,"children":2397},{"style":310},[2398],{"type":179,"value":406},{"type":173,"tag":303,"props":2400,"children":2401},{"class":305,"line":419},[2402,2406,2410,2414,2419],{"type":173,"tag":303,"props":2403,"children":2404},{"style":316},[2405],{"type":179,"value":2309},{"type":173,"tag":303,"props":2407,"children":2408},{"style":310},[2409],{"type":179,"value":459},{"type":173,"tag":303,"props":2411,"children":2412},{"style":310},[2413],{"type":179,"value":396},{"type":173,"tag":303,"props":2415,"children":2416},{"style":343},[2417],{"type":179,"value":2418},"15-06-2022",{"type":173,"tag":303,"props":2420,"children":2421},{"style":310},[2422],{"type":179,"value":406},{"type":173,"tag":303,"props":2424,"children":2425},{"class":305,"line":448},[2426],{"type":173,"tag":303,"props":2427,"children":2428},{"style":378},[2429],{"type":179,"value":1695},{"type":173,"tag":293,"props":2431,"children":2434},{"code":2432,"filename":2433,"language":1134,"meta":167,"className":1135,"style":167},"{\n  \"title\": \"My Page\",\n  \"author\": \"Sébastien Chopin\",\n  \"publishedAt\": \"15-06-2022\",\n  \"_path\": \"/page\",\n  \"_id\": \"content:page.md\",\n}\n","Navigation node",[2435],{"type":173,"tag":198,"props":2436,"children":2437},{"__ignoreMap":167},[2438,2445,2481,2516,2551,2587,2623],{"type":173,"tag":303,"props":2439,"children":2440},{"class":305,"line":306},[2441],{"type":173,"tag":303,"props":2442,"children":2443},{"style":310},[2444],{"type":179,"value":1147},{"type":173,"tag":303,"props":2446,"children":2447},{"class":305,"line":358},[2448,2452,2456,2460,2464,2468,2473,2477],{"type":173,"tag":303,"props":2449,"children":2450},{"style":310},[2451],{"type":179,"value":1155},{"type":173,"tag":303,"props":2453,"children":2454},{"style":322},[2455],{"type":179,"value":1160},{"type":173,"tag":303,"props":2457,"children":2458},{"style":310},[2459],{"type":179,"value":340},{"type":173,"tag":303,"props":2461,"children":2462},{"style":310},[2463],{"type":179,"value":459},{"type":173,"tag":303,"props":2465,"children":2466},{"style":310},[2467],{"type":179,"value":1173},{"type":173,"tag":303,"props":2469,"children":2470},{"style":343},[2471],{"type":179,"value":2472},"My Page",{"type":173,"tag":303,"props":2474,"children":2475},{"style":310},[2476],{"type":179,"value":340},{"type":173,"tag":303,"props":2478,"children":2479},{"style":310},[2480],{"type":179,"value":898},{"type":173,"tag":303,"props":2482,"children":2483},{"class":305,"line":409},[2484,2488,2492,2496,2500,2504,2508,2512],{"type":173,"tag":303,"props":2485,"children":2486},{"style":310},[2487],{"type":179,"value":1155},{"type":173,"tag":303,"props":2489,"children":2490},{"style":322},[2491],{"type":179,"value":2291},{"type":173,"tag":303,"props":2493,"children":2494},{"style":310},[2495],{"type":179,"value":340},{"type":173,"tag":303,"props":2497,"children":2498},{"style":310},[2499],{"type":179,"value":459},{"type":173,"tag":303,"props":2501,"children":2502},{"style":310},[2503],{"type":179,"value":1173},{"type":173,"tag":303,"props":2505,"children":2506},{"style":343},[2507],{"type":179,"value":2394},{"type":173,"tag":303,"props":2509,"children":2510},{"style":310},[2511],{"type":179,"value":340},{"type":173,"tag":303,"props":2513,"children":2514},{"style":310},[2515],{"type":179,"value":898},{"type":173,"tag":303,"props":2517,"children":2518},{"class":305,"line":419},[2519,2523,2527,2531,2535,2539,2543,2547],{"type":173,"tag":303,"props":2520,"children":2521},{"style":310},[2522],{"type":179,"value":1155},{"type":173,"tag":303,"props":2524,"children":2525},{"style":322},[2526],{"type":179,"value":2309},{"type":173,"tag":303,"props":2528,"children":2529},{"style":310},[2530],{"type":179,"value":340},{"type":173,"tag":303,"props":2532,"children":2533},{"style":310},[2534],{"type":179,"value":459},{"type":173,"tag":303,"props":2536,"children":2537},{"style":310},[2538],{"type":179,"value":1173},{"type":173,"tag":303,"props":2540,"children":2541},{"style":343},[2542],{"type":179,"value":2418},{"type":173,"tag":303,"props":2544,"children":2545},{"style":310},[2546],{"type":179,"value":340},{"type":173,"tag":303,"props":2548,"children":2549},{"style":310},[2550],{"type":179,"value":898},{"type":173,"tag":303,"props":2552,"children":2553},{"class":305,"line":448},[2554,2558,2562,2566,2570,2574,2579,2583],{"type":173,"tag":303,"props":2555,"children":2556},{"style":310},[2557],{"type":179,"value":1155},{"type":173,"tag":303,"props":2559,"children":2560},{"style":322},[2561],{"type":179,"value":1080},{"type":173,"tag":303,"props":2563,"children":2564},{"style":310},[2565],{"type":179,"value":340},{"type":173,"tag":303,"props":2567,"children":2568},{"style":310},[2569],{"type":179,"value":459},{"type":173,"tag":303,"props":2571,"children":2572},{"style":310},[2573],{"type":179,"value":1173},{"type":173,"tag":303,"props":2575,"children":2576},{"style":343},[2577],{"type":179,"value":2578},"/page",{"type":173,"tag":303,"props":2580,"children":2581},{"style":310},[2582],{"type":179,"value":340},{"type":173,"tag":303,"props":2584,"children":2585},{"style":310},[2586],{"type":179,"value":898},{"type":173,"tag":303,"props":2588,"children":2589},{"class":305,"line":475},[2590,2594,2598,2602,2606,2610,2615,2619],{"type":173,"tag":303,"props":2591,"children":2592},{"style":310},[2593],{"type":179,"value":1155},{"type":173,"tag":303,"props":2595,"children":2596},{"style":322},[2597],{"type":179,"value":1073},{"type":173,"tag":303,"props":2599,"children":2600},{"style":310},[2601],{"type":179,"value":340},{"type":173,"tag":303,"props":2603,"children":2604},{"style":310},[2605],{"type":179,"value":459},{"type":173,"tag":303,"props":2607,"children":2608},{"style":310},[2609],{"type":179,"value":1173},{"type":173,"tag":303,"props":2611,"children":2612},{"style":343},[2613],{"type":179,"value":2614},"content:page.md",{"type":173,"tag":303,"props":2616,"children":2617},{"style":310},[2618],{"type":179,"value":340},{"type":173,"tag":303,"props":2620,"children":2621},{"style":310},[2622],{"type":179,"value":898},{"type":173,"tag":303,"props":2624,"children":2625},{"class":305,"line":501},[2626],{"type":173,"tag":303,"props":2627,"children":2628},{"style":310},[2629],{"type":179,"value":532},{"type":173,"tag":188,"props":2631,"children":2633},{"id":2632},"excluding",[2634],{"type":179,"value":2635},"Excluding",{"type":173,"tag":182,"props":2637,"children":2638},{},[2639,2641,2646,2648,2653],{"type":179,"value":2640},"Set ",{"type":173,"tag":198,"props":2642,"children":2643},{"className":167},[2644],{"type":179,"value":2645},"navigation: false",{"type":179,"value":2647}," in the ",{"type":173,"tag":205,"props":2649,"children":2650},{"href":29},[2651],{"type":179,"value":2652},"front-matter",{"type":179,"value":2654}," of a page to filter it out.",{"type":173,"tag":293,"props":2656,"children":2658},{"code":2657,"filename":2347,"language":1040,"meta":167,"className":1683,"style":167},"---\nnavigation: false\n---\n",[2659],{"type":173,"tag":198,"props":2660,"children":2661},{"__ignoreMap":167},[2662,2669,2686],{"type":173,"tag":303,"props":2663,"children":2664},{"class":305,"line":306},[2665],{"type":173,"tag":303,"props":2666,"children":2667},{"style":378},[2668],{"type":179,"value":1695},{"type":173,"tag":303,"props":2670,"children":2671},{"class":305,"line":358},[2672,2676,2680],{"type":173,"tag":303,"props":2673,"children":2674},{"style":316},[2675],{"type":179,"value":1673},{"type":173,"tag":303,"props":2677,"children":2678},{"style":310},[2679],{"type":179,"value":459},{"type":173,"tag":303,"props":2681,"children":2683},{"style":2682},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[2684],{"type":179,"value":2685}," false\n",{"type":173,"tag":303,"props":2687,"children":2688},{"class":305,"line":409},[2689],{"type":173,"tag":303,"props":2690,"children":2691},{"style":378},[2692],{"type":179,"value":1695},{"type":173,"tag":182,"props":2694,"children":2695},{},[2696,2698,2702],{"type":179,"value":2697},"This pattern also works inside ",{"type":173,"tag":198,"props":2699,"children":2700},{"className":167},[2701],{"type":179,"value":1937},{"type":179,"value":2703}," file, allowing you to filter out content directories and files.",{"type":173,"tag":293,"props":2705,"children":2707},{"code":2706,"filename":1937,"language":1965,"meta":167,"className":1966,"style":167},"navigation: false\n",[2708],{"type":173,"tag":198,"props":2709,"children":2710},{"__ignoreMap":167},[2711],{"type":173,"tag":303,"props":2712,"children":2713},{"class":305,"line":306},[2714,2718,2722],{"type":173,"tag":303,"props":2715,"children":2716},{"style":316},[2717],{"type":179,"value":1673},{"type":173,"tag":303,"props":2719,"children":2720},{"style":310},[2721],{"type":179,"value":459},{"type":173,"tag":303,"props":2723,"children":2724},{"style":2682},[2725],{"type":179,"value":2685},{"type":173,"tag":182,"props":2727,"children":2728},{},[2729,2731,2736],{"type":179,"value":2730},"You can also use the ",{"type":173,"tag":198,"props":2732,"children":2733},{"className":167},[2734],{"type":179,"value":2735},"_",{"type":179,"value":2737}," content prefix to exclude content directories and files.",{"type":173,"tag":1118,"props":2739,"children":2740},{},[2741,2749],{"type":173,"tag":293,"props":2742,"children":2744},{"code":2743,"filename":1124,"meta":167},"content/\n  _hidden-directory/\n    page.md\n    index.md\n  not-hidden-directory/\n    _dir.yml\n    index.md\n    page.md\n",[2745],{"type":173,"tag":198,"props":2746,"children":2747},{"__ignoreMap":167},[2748],{"type":179,"value":2743},{"type":173,"tag":293,"props":2750,"children":2753},{"code":2751,"filename":2752,"language":1134,"meta":167,"className":1135,"style":167},"[\n  {\n    \"title\": \"Not Hidden Directory\",\n    \"_path\": \"/not-hidden-directory\",\n    \"children\": [\n      {\n        \"title\": \"Page\",\n        \"_id\": \"content:not-hidden-directory:page.md\",\n        \"_path\": \"/not-hidden-directory/page\"\n      }\n    ]\n  }\n]\n","Navigation object",[2754],{"type":173,"tag":198,"props":2755,"children":2756},{"__ignoreMap":167},[2757,2764,2771,2807,2843,2866,2873,2909,2945,2977,2984,2991,2998],{"type":173,"tag":303,"props":2758,"children":2759},{"class":305,"line":306},[2760],{"type":173,"tag":303,"props":2761,"children":2762},{"style":310},[2763],{"type":179,"value":1413},{"type":173,"tag":303,"props":2765,"children":2766},{"class":305,"line":358},[2767],{"type":173,"tag":303,"props":2768,"children":2769},{"style":310},[2770],{"type":179,"value":1421},{"type":173,"tag":303,"props":2772,"children":2773},{"class":305,"line":409},[2774,2778,2782,2786,2790,2794,2799,2803],{"type":173,"tag":303,"props":2775,"children":2776},{"style":310},[2777],{"type":179,"value":1429},{"type":173,"tag":303,"props":2779,"children":2780},{"style":322},[2781],{"type":179,"value":1160},{"type":173,"tag":303,"props":2783,"children":2784},{"style":310},[2785],{"type":179,"value":340},{"type":173,"tag":303,"props":2787,"children":2788},{"style":310},[2789],{"type":179,"value":459},{"type":173,"tag":303,"props":2791,"children":2792},{"style":310},[2793],{"type":179,"value":1173},{"type":173,"tag":303,"props":2795,"children":2796},{"style":343},[2797],{"type":179,"value":2798},"Not Hidden Directory",{"type":173,"tag":303,"props":2800,"children":2801},{"style":310},[2802],{"type":179,"value":340},{"type":173,"tag":303,"props":2804,"children":2805},{"style":310},[2806],{"type":179,"value":898},{"type":173,"tag":303,"props":2808,"children":2809},{"class":305,"line":419},[2810,2814,2818,2822,2826,2830,2835,2839],{"type":173,"tag":303,"props":2811,"children":2812},{"style":310},[2813],{"type":179,"value":1429},{"type":173,"tag":303,"props":2815,"children":2816},{"style":322},[2817],{"type":179,"value":1080},{"type":173,"tag":303,"props":2819,"children":2820},{"style":310},[2821],{"type":179,"value":340},{"type":173,"tag":303,"props":2823,"children":2824},{"style":310},[2825],{"type":179,"value":459},{"type":173,"tag":303,"props":2827,"children":2828},{"style":310},[2829],{"type":179,"value":1173},{"type":173,"tag":303,"props":2831,"children":2832},{"style":343},[2833],{"type":179,"value":2834},"/not-hidden-directory",{"type":173,"tag":303,"props":2836,"children":2837},{"style":310},[2838],{"type":179,"value":340},{"type":173,"tag":303,"props":2840,"children":2841},{"style":310},[2842],{"type":179,"value":898},{"type":173,"tag":303,"props":2844,"children":2845},{"class":305,"line":448},[2846,2850,2854,2858,2862],{"type":173,"tag":303,"props":2847,"children":2848},{"style":310},[2849],{"type":179,"value":1429},{"type":173,"tag":303,"props":2851,"children":2852},{"style":322},[2853],{"type":179,"value":1234},{"type":173,"tag":303,"props":2855,"children":2856},{"style":310},[2857],{"type":179,"value":340},{"type":173,"tag":303,"props":2859,"children":2860},{"style":310},[2861],{"type":179,"value":459},{"type":173,"tag":303,"props":2863,"children":2864},{"style":310},[2865],{"type":179,"value":1247},{"type":173,"tag":303,"props":2867,"children":2868},{"class":305,"line":475},[2869],{"type":173,"tag":303,"props":2870,"children":2871},{"style":310},[2872],{"type":179,"value":1523},{"type":173,"tag":303,"props":2874,"children":2875},{"class":305,"line":501},[2876,2880,2884,2888,2892,2896,2901,2905],{"type":173,"tag":303,"props":2877,"children":2878},{"style":310},[2879],{"type":179,"value":1531},{"type":173,"tag":303,"props":2881,"children":2882},{"style":428},[2883],{"type":179,"value":1160},{"type":173,"tag":303,"props":2885,"children":2886},{"style":310},[2887],{"type":179,"value":340},{"type":173,"tag":303,"props":2889,"children":2890},{"style":310},[2891],{"type":179,"value":459},{"type":173,"tag":303,"props":2893,"children":2894},{"style":310},[2895],{"type":179,"value":1173},{"type":173,"tag":303,"props":2897,"children":2898},{"style":343},[2899],{"type":179,"value":2900},"Page",{"type":173,"tag":303,"props":2902,"children":2903},{"style":310},[2904],{"type":179,"value":340},{"type":173,"tag":303,"props":2906,"children":2907},{"style":310},[2908],{"type":179,"value":898},{"type":173,"tag":303,"props":2910,"children":2911},{"class":305,"line":526},[2912,2916,2920,2924,2928,2932,2937,2941],{"type":173,"tag":303,"props":2913,"children":2914},{"style":310},[2915],{"type":179,"value":1531},{"type":173,"tag":303,"props":2917,"children":2918},{"style":428},[2919],{"type":179,"value":1073},{"type":173,"tag":303,"props":2921,"children":2922},{"style":310},[2923],{"type":179,"value":340},{"type":173,"tag":303,"props":2925,"children":2926},{"style":310},[2927],{"type":179,"value":459},{"type":173,"tag":303,"props":2929,"children":2930},{"style":310},[2931],{"type":179,"value":1173},{"type":173,"tag":303,"props":2933,"children":2934},{"style":343},[2935],{"type":179,"value":2936},"content:not-hidden-directory:page.md",{"type":173,"tag":303,"props":2938,"children":2939},{"style":310},[2940],{"type":179,"value":340},{"type":173,"tag":303,"props":2942,"children":2943},{"style":310},[2944],{"type":179,"value":898},{"type":173,"tag":303,"props":2946,"children":2947},{"class":305,"line":535},[2948,2952,2956,2960,2964,2968,2973],{"type":173,"tag":303,"props":2949,"children":2950},{"style":310},[2951],{"type":179,"value":1531},{"type":173,"tag":303,"props":2953,"children":2954},{"style":428},[2955],{"type":179,"value":1080},{"type":173,"tag":303,"props":2957,"children":2958},{"style":310},[2959],{"type":179,"value":340},{"type":173,"tag":303,"props":2961,"children":2962},{"style":310},[2963],{"type":179,"value":459},{"type":173,"tag":303,"props":2965,"children":2966},{"style":310},[2967],{"type":179,"value":1173},{"type":173,"tag":303,"props":2969,"children":2970},{"style":343},[2971],{"type":179,"value":2972},"/not-hidden-directory/page",{"type":173,"tag":303,"props":2974,"children":2975},{"style":310},[2976],{"type":179,"value":1390},{"type":173,"tag":303,"props":2978,"children":2979},{"class":305,"line":543},[2980],{"type":173,"tag":303,"props":2981,"children":2982},{"style":310},[2983],{"type":179,"value":1633},{"type":173,"tag":303,"props":2985,"children":2986},{"class":305,"line":553},[2987],{"type":173,"tag":303,"props":2988,"children":2989},{"style":310},[2990],{"type":179,"value":1641},{"type":173,"tag":303,"props":2992,"children":2993},{"class":305,"line":597},[2994],{"type":173,"tag":303,"props":2995,"children":2996},{"style":310},[2997],{"type":179,"value":1649},{"type":173,"tag":303,"props":2999,"children":3000},{"class":305,"line":659},[3001],{"type":173,"tag":303,"props":3002,"children":3003},{"style":310},[3004],{"type":179,"value":1657},{"type":173,"tag":188,"props":3006,"children":3008},{"id":3007},"nested-navigation",[3009],{"type":179,"value":3010},"Nested navigation",{"type":173,"tag":182,"props":3012,"children":3013},{},[3014,3016,3020,3022,3026],{"type":179,"value":3015},"You can pass a ",{"type":173,"tag":198,"props":3017,"children":3018},{"className":167},[3019],{"type":179,"value":50},{"type":179,"value":3021}," instance to the ",{"type":173,"tag":198,"props":3023,"children":3024},{"className":167},[3025],{"type":179,"value":53},{"type":179,"value":3027}," utility to filter the items returned.",{"type":173,"tag":182,"props":3029,"children":3030},{},[3031],{"type":179,"value":3032},"That allows to create navigation objects for which the starting point is based on a specific content directory.",{"type":173,"tag":293,"props":3034,"children":3036},{"code":3035,"language":346,"meta":167,"className":2213,"style":167},"const query = queryContent({\n  where: {\n    _path: { $contains: '/your/navigation/starting/point' }\n  }\n})\n",[3037],{"type":173,"tag":198,"props":3038,"children":3039},{"__ignoreMap":167},[3040,3068,3084,3127,3134],{"type":173,"tag":303,"props":3041,"children":3042},{"class":305,"line":306},[3043,3047,3052,3056,3060,3064],{"type":173,"tag":303,"props":3044,"children":3045},{"style":322},[3046],{"type":179,"value":559},{"type":173,"tag":303,"props":3048,"children":3049},{"style":378},[3050],{"type":179,"value":3051}," query ",{"type":173,"tag":303,"props":3053,"children":3054},{"style":310},[3055],{"type":179,"value":335},{"type":173,"tag":303,"props":3057,"children":3058},{"style":586},[3059],{"type":179,"value":613},{"type":173,"tag":303,"props":3061,"children":3062},{"style":378},[3063],{"type":179,"value":632},{"type":173,"tag":303,"props":3065,"children":3066},{"style":310},[3067],{"type":179,"value":1147},{"type":173,"tag":303,"props":3069,"children":3070},{"class":305,"line":358},[3071,3076,3080],{"type":173,"tag":303,"props":3072,"children":3073},{"style":316},[3074],{"type":179,"value":3075},"  where",{"type":173,"tag":303,"props":3077,"children":3078},{"style":310},[3079],{"type":179,"value":459},{"type":173,"tag":303,"props":3081,"children":3082},{"style":310},[3083],{"type":179,"value":445},{"type":173,"tag":303,"props":3085,"children":3086},{"class":305,"line":409},[3087,3092,3096,3100,3105,3109,3113,3118,3122],{"type":173,"tag":303,"props":3088,"children":3089},{"style":316},[3090],{"type":179,"value":3091},"    _path",{"type":173,"tag":303,"props":3093,"children":3094},{"style":310},[3095],{"type":179,"value":459},{"type":173,"tag":303,"props":3097,"children":3098},{"style":310},[3099],{"type":179,"value":375},{"type":173,"tag":303,"props":3101,"children":3102},{"style":316},[3103],{"type":179,"value":3104}," $contains",{"type":173,"tag":303,"props":3106,"children":3107},{"style":310},[3108],{"type":179,"value":459},{"type":173,"tag":303,"props":3110,"children":3111},{"style":310},[3112],{"type":179,"value":396},{"type":173,"tag":303,"props":3114,"children":3115},{"style":343},[3116],{"type":179,"value":3117},"/your/navigation/starting/point",{"type":173,"tag":303,"props":3119,"children":3120},{"style":310},[3121],{"type":179,"value":893},{"type":173,"tag":303,"props":3123,"children":3124},{"style":310},[3125],{"type":179,"value":3126}," }\n",{"type":173,"tag":303,"props":3128,"children":3129},{"class":305,"line":419},[3130],{"type":173,"tag":303,"props":3131,"children":3132},{"style":310},[3133],{"type":179,"value":1649},{"type":173,"tag":303,"props":3135,"children":3136},{"class":305,"line":448},[3137,3141],{"type":173,"tag":303,"props":3138,"children":3139},{"style":310},[3140],{"type":179,"value":573},{"type":173,"tag":303,"props":3142,"children":3143},{"style":378},[3144],{"type":179,"value":656},{"type":173,"tag":3146,"props":3147,"children":3148},"hr",{},[],{"type":173,"tag":1015,"props":3150,"children":3152},{"type":3151},"info",[3153,3165],{"type":173,"tag":182,"props":3154,"children":3155},{},[3156,3158,3163],{"type":179,"value":3157},"Go deeper in the ",{"type":173,"tag":1105,"props":3159,"children":3160},{},[3161],{"type":179,"value":3162},"API",{"type":179,"value":3164}," section:",{"type":173,"tag":3166,"props":3167,"children":3168},"ul",{},[3169,3187],{"type":173,"tag":3170,"props":3171,"children":3172},"li",{},[3173,3180,3182],{"type":173,"tag":205,"props":3174,"children":3175},{"href":54},[3176],{"type":173,"tag":198,"props":3177,"children":3178},{"className":167},[3179],{"type":179,"value":53},{"type":179,"value":3181}," composable to fetch navigation in ",{"type":173,"tag":198,"props":3183,"children":3184},{"className":167},[3185],{"type":179,"value":3186},"\u003Cscript>",{"type":173,"tag":3170,"props":3188,"children":3189},{},[3190,3197,3199],{"type":173,"tag":205,"props":3191,"children":3192},{"href":82},[3193],{"type":173,"tag":198,"props":3194,"children":3195},{"className":167},[3196],{"type":179,"value":81},{"type":179,"value":3198}," component made to shorten access to navigation in ",{"type":173,"tag":198,"props":3200,"children":3201},{"className":167},[3202],{"type":179,"value":3203},"\u003Ctemplate>",{"type":173,"tag":1025,"props":3205,"children":3206},{},[3207],{"type":179,"value":1029},{"title":167,"searchDepth":358,"depth":358,"links":3209},[3210,3211,3212,3213],{"id":1090,"depth":358,"text":1093},{"id":1660,"depth":358,"text":1663},{"id":2632,"depth":358,"text":2635},{"id":3007,"depth":358,"text":3010},"content:2.usage:4.navigation.md","2.usage/4.navigation.md",{"_path":51,"_dir":3217,"_draft":166,"_partial":166,"_locale":167,"title":50,"description":3218,"body":3219,"_type":1036,"_id":7014,"_source":1038,"_file":7015,"_extension":1040},"composables","The queryContent composable provides methods for querying and fetching your contents.",{"type":170,"children":3220,"toc":7000},[3221,3227,3246,3464,3470,3481,3486,3650,3659,3692,3697,3752,4286,4291,4580,4589,4619,4624,5148,5228,5233,5357,5370,5379,5409,5414,5506,5515,5543,5548,5669,5678,5713,5718,5919,5928,5961,5966,6164,6171,6176,6246,6254,6259,6322,6331,6389,6394,6399,6732,6740,6745,6842,6860,6996],{"type":173,"tag":188,"props":3222,"children":3224},{"id":3223},"important-️",[3225],{"type":179,"value":3226},"Important ⚠️",{"type":173,"tag":182,"props":3228,"children":3229},{},[3230,3232,3244],{"type":179,"value":3231},"In your pages and components, wrap your query in ",{"type":173,"tag":205,"props":3233,"children":3236},{"href":3234,"rel":3235},"https://nuxt.com/docs/api/composables/use-async-data",[209],[3237,3242],{"type":173,"tag":198,"props":3238,"children":3239},{"className":167},[3240],{"type":179,"value":3241},"useAsyncData",{"type":179,"value":3243}," composable",{"type":179,"value":3245}," to prevent fetching duplication on first load.",{"type":173,"tag":293,"props":3247,"children":3250},{"className":295,"code":3248,"filename":3249,"language":297,"meta":167,"style":167},"\u003Cscript setup>\nconst { data } = await useAsyncData('home', () => queryContent('/').findOne())\n\u003C/script>\n\n\u003Ctemplate>\n  \u003Cpre>\n    {{ data }}\n  \u003C/pre>\n\u003C/template>\n","app.vue",[3251],{"type":173,"tag":198,"props":3252,"children":3253},{"__ignoreMap":167},[3254,3273,3371,3386,3393,3409,3425,3433,3449],{"type":173,"tag":303,"props":3255,"children":3256},{"class":305,"line":306},[3257,3261,3265,3269],{"type":173,"tag":303,"props":3258,"children":3259},{"style":310},[3260],{"type":179,"value":313},{"type":173,"tag":303,"props":3262,"children":3263},{"style":316},[3264],{"type":179,"value":319},{"type":173,"tag":303,"props":3266,"children":3267},{"style":322},[3268],{"type":179,"value":325},{"type":173,"tag":303,"props":3270,"children":3271},{"style":310},[3272],{"type":179,"value":355},{"type":173,"tag":303,"props":3274,"children":3275},{"class":305,"line":358},[3276,3280,3284,3288,3292,3296,3300,3304,3308,3312,3317,3321,3325,3330,3334,3338,3342,3346,3350,3354,3358,3362,3366],{"type":173,"tag":303,"props":3277,"children":3278},{"style":322},[3279],{"type":179,"value":559},{"type":173,"tag":303,"props":3281,"children":3282},{"style":310},[3283],{"type":179,"value":375},{"type":173,"tag":303,"props":3285,"children":3286},{"style":378},[3287],{"type":179,"value":568},{"type":173,"tag":303,"props":3289,"children":3290},{"style":310},[3291],{"type":179,"value":573},{"type":173,"tag":303,"props":3293,"children":3294},{"style":310},[3295],{"type":179,"value":578},{"type":173,"tag":303,"props":3297,"children":3298},{"style":362},[3299],{"type":179,"value":583},{"type":173,"tag":303,"props":3301,"children":3302},{"style":586},[3303],{"type":179,"value":589},{"type":173,"tag":303,"props":3305,"children":3306},{"style":378},[3307],{"type":179,"value":632},{"type":173,"tag":303,"props":3309,"children":3310},{"style":310},[3311],{"type":179,"value":893},{"type":173,"tag":303,"props":3313,"children":3314},{"style":343},[3315],{"type":179,"value":3316},"home",{"type":173,"tag":303,"props":3318,"children":3319},{"style":310},[3320],{"type":179,"value":893},{"type":173,"tag":303,"props":3322,"children":3323},{"style":310},[3324],{"type":179,"value":2300},{"type":173,"tag":303,"props":3326,"children":3327},{"style":310},[3328],{"type":179,"value":3329}," ()",{"type":173,"tag":303,"props":3331,"children":3332},{"style":322},[3333],{"type":179,"value":608},{"type":173,"tag":303,"props":3335,"children":3336},{"style":586},[3337],{"type":179,"value":613},{"type":173,"tag":303,"props":3339,"children":3340},{"style":378},[3341],{"type":179,"value":632},{"type":173,"tag":303,"props":3343,"children":3344},{"style":310},[3345],{"type":179,"value":893},{"type":173,"tag":303,"props":3347,"children":3348},{"style":343},[3349],{"type":179,"value":1905},{"type":173,"tag":303,"props":3351,"children":3352},{"style":310},[3353],{"type":179,"value":893},{"type":173,"tag":303,"props":3355,"children":3356},{"style":378},[3357],{"type":179,"value":948},{"type":173,"tag":303,"props":3359,"children":3360},{"style":310},[3361],{"type":179,"value":254},{"type":173,"tag":303,"props":3363,"children":3364},{"style":586},[3365],{"type":179,"value":957},{"type":173,"tag":303,"props":3367,"children":3368},{"style":378},[3369],{"type":179,"value":3370},"())\n",{"type":173,"tag":303,"props":3372,"children":3373},{"class":305,"line":409},[3374,3378,3382],{"type":173,"tag":303,"props":3375,"children":3376},{"style":310},[3377],{"type":179,"value":673},{"type":173,"tag":303,"props":3379,"children":3380},{"style":316},[3381],{"type":179,"value":319},{"type":173,"tag":303,"props":3383,"children":3384},{"style":310},[3385],{"type":179,"value":355},{"type":173,"tag":303,"props":3387,"children":3388},{"class":305,"line":419},[3389],{"type":173,"tag":303,"props":3390,"children":3391},{"emptyLinePlaceholder":413},[3392],{"type":179,"value":416},{"type":173,"tag":303,"props":3394,"children":3395},{"class":305,"line":448},[3396,3400,3405],{"type":173,"tag":303,"props":3397,"children":3398},{"style":310},[3399],{"type":179,"value":313},{"type":173,"tag":303,"props":3401,"children":3402},{"style":316},[3403],{"type":179,"value":3404},"template",{"type":173,"tag":303,"props":3406,"children":3407},{"style":310},[3408],{"type":179,"value":355},{"type":173,"tag":303,"props":3410,"children":3411},{"class":305,"line":475},[3412,3417,3421],{"type":173,"tag":303,"props":3413,"children":3414},{"style":310},[3415],{"type":179,"value":3416},"  \u003C",{"type":173,"tag":303,"props":3418,"children":3419},{"style":316},[3420],{"type":179,"value":293},{"type":173,"tag":303,"props":3422,"children":3423},{"style":310},[3424],{"type":179,"value":355},{"type":173,"tag":303,"props":3426,"children":3427},{"class":305,"line":501},[3428],{"type":173,"tag":303,"props":3429,"children":3430},{"style":378},[3431],{"type":179,"value":3432},"    {{ data }}\n",{"type":173,"tag":303,"props":3434,"children":3435},{"class":305,"line":526},[3436,3441,3445],{"type":173,"tag":303,"props":3437,"children":3438},{"style":310},[3439],{"type":179,"value":3440},"  \u003C/",{"type":173,"tag":303,"props":3442,"children":3443},{"style":316},[3444],{"type":179,"value":293},{"type":173,"tag":303,"props":3446,"children":3447},{"style":310},[3448],{"type":179,"value":355},{"type":173,"tag":303,"props":3450,"children":3451},{"class":305,"line":535},[3452,3456,3460],{"type":173,"tag":303,"props":3453,"children":3454},{"style":310},[3455],{"type":179,"value":673},{"type":173,"tag":303,"props":3457,"children":3458},{"style":316},[3459],{"type":179,"value":3404},{"type":173,"tag":303,"props":3461,"children":3462},{"style":310},[3463],{"type":179,"value":355},{"type":173,"tag":188,"props":3465,"children":3467},{"id":3466},"query-builder",[3468],{"type":179,"value":3469},"Query builder",{"type":173,"tag":182,"props":3471,"children":3472},{},[3473,3475,3479],{"type":179,"value":3474},"The ",{"type":173,"tag":198,"props":3476,"children":3477},{"className":167},[3478],{"type":179,"value":50},{"type":179,"value":3480}," composable provides methods for querying and fetching your contents.",{"type":173,"tag":182,"props":3482,"children":3483},{},[3484],{"type":179,"value":3485},"Create a query builder to search contents.",{"type":173,"tag":293,"props":3487,"children":3489},{"className":2213,"code":3488,"language":346,"meta":167,"style":167},"// Create a query looking for anything in content/ directory\nconst contentQuery = queryContent()\n\n// Create a query looking into content/articles directory\nconst contentQuery = queryContent('articles')\n\n// Create a query looking into content/articles/nuxt3 directory\nconst contentQuery = queryContent('articles', 'nuxt3')\n",[3490],{"type":173,"tag":198,"props":3491,"children":3492},{"__ignoreMap":167},[3493,3501,3525,3532,3540,3579,3586,3594],{"type":173,"tag":303,"props":3494,"children":3495},{"class":305,"line":306},[3496],{"type":173,"tag":303,"props":3497,"children":3498},{"style":547},[3499],{"type":179,"value":3500},"// Create a query looking for anything in content/ directory\n",{"type":173,"tag":303,"props":3502,"children":3503},{"class":305,"line":358},[3504,3508,3513,3517,3521],{"type":173,"tag":303,"props":3505,"children":3506},{"style":322},[3507],{"type":179,"value":559},{"type":173,"tag":303,"props":3509,"children":3510},{"style":378},[3511],{"type":179,"value":3512}," contentQuery ",{"type":173,"tag":303,"props":3514,"children":3515},{"style":310},[3516],{"type":179,"value":335},{"type":173,"tag":303,"props":3518,"children":3519},{"style":586},[3520],{"type":179,"value":613},{"type":173,"tag":303,"props":3522,"children":3523},{"style":378},[3524],{"type":179,"value":962},{"type":173,"tag":303,"props":3526,"children":3527},{"class":305,"line":409},[3528],{"type":173,"tag":303,"props":3529,"children":3530},{"emptyLinePlaceholder":413},[3531],{"type":179,"value":416},{"type":173,"tag":303,"props":3533,"children":3534},{"class":305,"line":419},[3535],{"type":173,"tag":303,"props":3536,"children":3537},{"style":547},[3538],{"type":179,"value":3539},"// Create a query looking into content/articles directory\n",{"type":173,"tag":303,"props":3541,"children":3542},{"class":305,"line":448},[3543,3547,3551,3555,3559,3563,3567,3571,3575],{"type":173,"tag":303,"props":3544,"children":3545},{"style":322},[3546],{"type":179,"value":559},{"type":173,"tag":303,"props":3548,"children":3549},{"style":378},[3550],{"type":179,"value":3512},{"type":173,"tag":303,"props":3552,"children":3553},{"style":310},[3554],{"type":179,"value":335},{"type":173,"tag":303,"props":3556,"children":3557},{"style":586},[3558],{"type":179,"value":613},{"type":173,"tag":303,"props":3560,"children":3561},{"style":378},[3562],{"type":179,"value":632},{"type":173,"tag":303,"props":3564,"children":3565},{"style":310},[3566],{"type":179,"value":893},{"type":173,"tag":303,"props":3568,"children":3569},{"style":343},[3570],{"type":179,"value":939},{"type":173,"tag":303,"props":3572,"children":3573},{"style":310},[3574],{"type":179,"value":893},{"type":173,"tag":303,"props":3576,"children":3577},{"style":378},[3578],{"type":179,"value":656},{"type":173,"tag":303,"props":3580,"children":3581},{"class":305,"line":475},[3582],{"type":173,"tag":303,"props":3583,"children":3584},{"emptyLinePlaceholder":413},[3585],{"type":179,"value":416},{"type":173,"tag":303,"props":3587,"children":3588},{"class":305,"line":501},[3589],{"type":173,"tag":303,"props":3590,"children":3591},{"style":547},[3592],{"type":179,"value":3593},"// Create a query looking into content/articles/nuxt3 directory\n",{"type":173,"tag":303,"props":3595,"children":3596},{"class":305,"line":526},[3597,3601,3605,3609,3613,3617,3621,3625,3629,3633,3637,3642,3646],{"type":173,"tag":303,"props":3598,"children":3599},{"style":322},[3600],{"type":179,"value":559},{"type":173,"tag":303,"props":3602,"children":3603},{"style":378},[3604],{"type":179,"value":3512},{"type":173,"tag":303,"props":3606,"children":3607},{"style":310},[3608],{"type":179,"value":335},{"type":173,"tag":303,"props":3610,"children":3611},{"style":586},[3612],{"type":179,"value":613},{"type":173,"tag":303,"props":3614,"children":3615},{"style":378},[3616],{"type":179,"value":632},{"type":173,"tag":303,"props":3618,"children":3619},{"style":310},[3620],{"type":179,"value":893},{"type":173,"tag":303,"props":3622,"children":3623},{"style":343},[3624],{"type":179,"value":939},{"type":173,"tag":303,"props":3626,"children":3627},{"style":310},[3628],{"type":179,"value":893},{"type":173,"tag":303,"props":3630,"children":3631},{"style":310},[3632],{"type":179,"value":2300},{"type":173,"tag":303,"props":3634,"children":3635},{"style":310},[3636],{"type":179,"value":396},{"type":173,"tag":303,"props":3638,"children":3639},{"style":343},[3640],{"type":179,"value":3641},"nuxt3",{"type":173,"tag":303,"props":3643,"children":3644},{"style":310},[3645],{"type":179,"value":893},{"type":173,"tag":303,"props":3647,"children":3648},{"style":378},[3649],{"type":179,"value":656},{"type":173,"tag":188,"props":3651,"children":3653},{"id":3652},"wherequery",[3654],{"type":173,"tag":198,"props":3655,"children":3656},{"className":167},[3657],{"type":179,"value":3658},"where(query)",{"type":173,"tag":3166,"props":3660,"children":3661},{},[3662],{"type":173,"tag":3170,"props":3663,"children":3664},{},[3665,3670,3671],{"type":173,"tag":198,"props":3666,"children":3667},{"className":167},[3668],{"type":179,"value":3669},"query",{"type":179,"value":1707},{"type":173,"tag":3166,"props":3672,"children":3673},{},[3674,3684],{"type":173,"tag":3170,"props":3675,"children":3676},{},[3677,3679],{"type":179,"value":3678},"Type: ",{"type":173,"tag":198,"props":3680,"children":3681},{"className":167},[3682],{"type":179,"value":3683},"Partial\u003CQueryBuilderParams>",{"type":173,"tag":3170,"props":3685,"children":3686},{},[3687],{"type":173,"tag":1105,"props":3688,"children":3689},{},[3690],{"type":179,"value":3691},"Required",{"type":173,"tag":182,"props":3693,"children":3694},{},[3695],{"type":179,"value":3696},"Filter results by query.",{"type":173,"tag":182,"props":3698,"children":3699},{},[3700,3702,3709,3711,3716,3717,3722,3723,3728,3729,3734,3735,3740,3741,3746,3747],{"type":179,"value":3701},"Where queries are based on subset of ",{"type":173,"tag":205,"props":3703,"children":3706},{"href":3704,"rel":3705},"https://www.mongodb.com/docs/manual/reference/operator/query",[209],[3707],{"type":179,"value":3708},"Mongo query syntax",{"type":179,"value":3710},", it handles: ",{"type":173,"tag":198,"props":3712,"children":3713},{"className":167},[3714],{"type":179,"value":3715},"$eq",{"type":179,"value":229},{"type":173,"tag":198,"props":3718,"children":3719},{"className":167},[3720],{"type":179,"value":3721},"$ne",{"type":179,"value":229},{"type":173,"tag":198,"props":3724,"children":3725},{"className":167},[3726],{"type":179,"value":3727},"$gt",{"type":179,"value":229},{"type":173,"tag":198,"props":3730,"children":3731},{"className":167},[3732],{"type":179,"value":3733},"$gte",{"type":179,"value":229},{"type":173,"tag":198,"props":3736,"children":3737},{"className":167},[3738],{"type":179,"value":3739},"$lt",{"type":179,"value":229},{"type":173,"tag":198,"props":3742,"children":3743},{"className":167},[3744],{"type":179,"value":3745},"$lte",{"type":179,"value":1075},{"type":173,"tag":198,"props":3748,"children":3749},{"className":167},[3750],{"type":179,"value":3751},"$in",{"type":173,"tag":293,"props":3753,"children":3755},{"className":2213,"code":3754,"language":346,"meta":167,"style":167},"// Implicit (assumes $eq operator)\nconst articles = await queryContent('articles').where({ title: 'Home' }).findOne()\n\n// Explicit $eq\nconst articles = await queryContent('articles').where({ title: { $eq: 'Home' } }).findOne()\n\n// $gt\nconst articles = await queryContent('articles').where({ age: { $gt: 18 } }).find()\n\n// $in\nconst articles = await queryContent('articles').where({ name: { $in: ['odin', 'thor'] } }).find()\n",[3756],{"type":173,"tag":198,"props":3757,"children":3758},{"__ignoreMap":167},[3759,3767,3869,3876,3884,4000,4007,4015,4127,4134,4142],{"type":173,"tag":303,"props":3760,"children":3761},{"class":305,"line":306},[3762],{"type":173,"tag":303,"props":3763,"children":3764},{"style":547},[3765],{"type":179,"value":3766},"// Implicit (assumes $eq operator)\n",{"type":173,"tag":303,"props":3768,"children":3769},{"class":305,"line":358},[3770,3774,3779,3783,3787,3791,3795,3799,3803,3807,3811,3815,3820,3824,3828,3833,3837,3841,3845,3849,3853,3857,3861,3865],{"type":173,"tag":303,"props":3771,"children":3772},{"style":322},[3773],{"type":179,"value":559},{"type":173,"tag":303,"props":3775,"children":3776},{"style":378},[3777],{"type":179,"value":3778}," articles ",{"type":173,"tag":303,"props":3780,"children":3781},{"style":310},[3782],{"type":179,"value":335},{"type":173,"tag":303,"props":3784,"children":3785},{"style":362},[3786],{"type":179,"value":583},{"type":173,"tag":303,"props":3788,"children":3789},{"style":586},[3790],{"type":179,"value":613},{"type":173,"tag":303,"props":3792,"children":3793},{"style":378},[3794],{"type":179,"value":632},{"type":173,"tag":303,"props":3796,"children":3797},{"style":310},[3798],{"type":179,"value":893},{"type":173,"tag":303,"props":3800,"children":3801},{"style":343},[3802],{"type":179,"value":939},{"type":173,"tag":303,"props":3804,"children":3805},{"style":310},[3806],{"type":179,"value":893},{"type":173,"tag":303,"props":3808,"children":3809},{"style":378},[3810],{"type":179,"value":948},{"type":173,"tag":303,"props":3812,"children":3813},{"style":310},[3814],{"type":179,"value":254},{"type":173,"tag":303,"props":3816,"children":3817},{"style":586},[3818],{"type":179,"value":3819},"where",{"type":173,"tag":303,"props":3821,"children":3822},{"style":378},[3823],{"type":179,"value":632},{"type":173,"tag":303,"props":3825,"children":3826},{"style":310},[3827],{"type":179,"value":637},{"type":173,"tag":303,"props":3829,"children":3830},{"style":316},[3831],{"type":179,"value":3832}," title",{"type":173,"tag":303,"props":3834,"children":3835},{"style":310},[3836],{"type":179,"value":459},{"type":173,"tag":303,"props":3838,"children":3839},{"style":310},[3840],{"type":179,"value":396},{"type":173,"tag":303,"props":3842,"children":3843},{"style":343},[3844],{"type":179,"value":1728},{"type":173,"tag":303,"props":3846,"children":3847},{"style":310},[3848],{"type":179,"value":893},{"type":173,"tag":303,"props":3850,"children":3851},{"style":310},[3852],{"type":179,"value":386},{"type":173,"tag":303,"props":3854,"children":3855},{"style":378},[3856],{"type":179,"value":948},{"type":173,"tag":303,"props":3858,"children":3859},{"style":310},[3860],{"type":179,"value":254},{"type":173,"tag":303,"props":3862,"children":3863},{"style":586},[3864],{"type":179,"value":957},{"type":173,"tag":303,"props":3866,"children":3867},{"style":378},[3868],{"type":179,"value":962},{"type":173,"tag":303,"props":3870,"children":3871},{"class":305,"line":409},[3872],{"type":173,"tag":303,"props":3873,"children":3874},{"emptyLinePlaceholder":413},[3875],{"type":179,"value":416},{"type":173,"tag":303,"props":3877,"children":3878},{"class":305,"line":419},[3879],{"type":173,"tag":303,"props":3880,"children":3881},{"style":547},[3882],{"type":179,"value":3883},"// Explicit $eq\n",{"type":173,"tag":303,"props":3885,"children":3886},{"class":305,"line":448},[3887,3891,3895,3899,3903,3907,3911,3915,3919,3923,3927,3931,3935,3939,3943,3947,3951,3955,3960,3964,3968,3972,3976,3980,3984,3988,3992,3996],{"type":173,"tag":303,"props":3888,"children":3889},{"style":322},[3890],{"type":179,"value":559},{"type":173,"tag":303,"props":3892,"children":3893},{"style":378},[3894],{"type":179,"value":3778},{"type":173,"tag":303,"props":3896,"children":3897},{"style":310},[3898],{"type":179,"value":335},{"type":173,"tag":303,"props":3900,"children":3901},{"style":362},[3902],{"type":179,"value":583},{"type":173,"tag":303,"props":3904,"children":3905},{"style":586},[3906],{"type":179,"value":613},{"type":173,"tag":303,"props":3908,"children":3909},{"style":378},[3910],{"type":179,"value":632},{"type":173,"tag":303,"props":3912,"children":3913},{"style":310},[3914],{"type":179,"value":893},{"type":173,"tag":303,"props":3916,"children":3917},{"style":343},[3918],{"type":179,"value":939},{"type":173,"tag":303,"props":3920,"children":3921},{"style":310},[3922],{"type":179,"value":893},{"type":173,"tag":303,"props":3924,"children":3925},{"style":378},[3926],{"type":179,"value":948},{"type":173,"tag":303,"props":3928,"children":3929},{"style":310},[3930],{"type":179,"value":254},{"type":173,"tag":303,"props":3932,"children":3933},{"style":586},[3934],{"type":179,"value":3819},{"type":173,"tag":303,"props":3936,"children":3937},{"style":378},[3938],{"type":179,"value":632},{"type":173,"tag":303,"props":3940,"children":3941},{"style":310},[3942],{"type":179,"value":637},{"type":173,"tag":303,"props":3944,"children":3945},{"style":316},[3946],{"type":179,"value":3832},{"type":173,"tag":303,"props":3948,"children":3949},{"style":310},[3950],{"type":179,"value":459},{"type":173,"tag":303,"props":3952,"children":3953},{"style":310},[3954],{"type":179,"value":375},{"type":173,"tag":303,"props":3956,"children":3957},{"style":316},[3958],{"type":179,"value":3959}," $eq",{"type":173,"tag":303,"props":3961,"children":3962},{"style":310},[3963],{"type":179,"value":459},{"type":173,"tag":303,"props":3965,"children":3966},{"style":310},[3967],{"type":179,"value":396},{"type":173,"tag":303,"props":3969,"children":3970},{"style":343},[3971],{"type":179,"value":1728},{"type":173,"tag":303,"props":3973,"children":3974},{"style":310},[3975],{"type":179,"value":893},{"type":173,"tag":303,"props":3977,"children":3978},{"style":310},[3979],{"type":179,"value":386},{"type":173,"tag":303,"props":3981,"children":3982},{"style":310},[3983],{"type":179,"value":386},{"type":173,"tag":303,"props":3985,"children":3986},{"style":378},[3987],{"type":179,"value":948},{"type":173,"tag":303,"props":3989,"children":3990},{"style":310},[3991],{"type":179,"value":254},{"type":173,"tag":303,"props":3993,"children":3994},{"style":586},[3995],{"type":179,"value":957},{"type":173,"tag":303,"props":3997,"children":3998},{"style":378},[3999],{"type":179,"value":962},{"type":173,"tag":303,"props":4001,"children":4002},{"class":305,"line":475},[4003],{"type":173,"tag":303,"props":4004,"children":4005},{"emptyLinePlaceholder":413},[4006],{"type":179,"value":416},{"type":173,"tag":303,"props":4008,"children":4009},{"class":305,"line":501},[4010],{"type":173,"tag":303,"props":4011,"children":4012},{"style":547},[4013],{"type":179,"value":4014},"// $gt\n",{"type":173,"tag":303,"props":4016,"children":4017},{"class":305,"line":526},[4018,4022,4026,4030,4034,4038,4042,4046,4050,4054,4058,4062,4066,4070,4074,4079,4083,4087,4092,4096,4102,4106,4110,4114,4118,4123],{"type":173,"tag":303,"props":4019,"children":4020},{"style":322},[4021],{"type":179,"value":559},{"type":173,"tag":303,"props":4023,"children":4024},{"style":378},[4025],{"type":179,"value":3778},{"type":173,"tag":303,"props":4027,"children":4028},{"style":310},[4029],{"type":179,"value":335},{"type":173,"tag":303,"props":4031,"children":4032},{"style":362},[4033],{"type":179,"value":583},{"type":173,"tag":303,"props":4035,"children":4036},{"style":586},[4037],{"type":179,"value":613},{"type":173,"tag":303,"props":4039,"children":4040},{"style":378},[4041],{"type":179,"value":632},{"type":173,"tag":303,"props":4043,"children":4044},{"style":310},[4045],{"type":179,"value":893},{"type":173,"tag":303,"props":4047,"children":4048},{"style":343},[4049],{"type":179,"value":939},{"type":173,"tag":303,"props":4051,"children":4052},{"style":310},[4053],{"type":179,"value":893},{"type":173,"tag":303,"props":4055,"children":4056},{"style":378},[4057],{"type":179,"value":948},{"type":173,"tag":303,"props":4059,"children":4060},{"style":310},[4061],{"type":179,"value":254},{"type":173,"tag":303,"props":4063,"children":4064},{"style":586},[4065],{"type":179,"value":3819},{"type":173,"tag":303,"props":4067,"children":4068},{"style":378},[4069],{"type":179,"value":632},{"type":173,"tag":303,"props":4071,"children":4072},{"style":310},[4073],{"type":179,"value":637},{"type":173,"tag":303,"props":4075,"children":4076},{"style":316},[4077],{"type":179,"value":4078}," age",{"type":173,"tag":303,"props":4080,"children":4081},{"style":310},[4082],{"type":179,"value":459},{"type":173,"tag":303,"props":4084,"children":4085},{"style":310},[4086],{"type":179,"value":375},{"type":173,"tag":303,"props":4088,"children":4089},{"style":316},[4090],{"type":179,"value":4091}," $gt",{"type":173,"tag":303,"props":4093,"children":4094},{"style":310},[4095],{"type":179,"value":459},{"type":173,"tag":303,"props":4097,"children":4099},{"style":4098},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[4100],{"type":179,"value":4101}," 18",{"type":173,"tag":303,"props":4103,"children":4104},{"style":310},[4105],{"type":179,"value":386},{"type":173,"tag":303,"props":4107,"children":4108},{"style":310},[4109],{"type":179,"value":386},{"type":173,"tag":303,"props":4111,"children":4112},{"style":378},[4113],{"type":179,"value":948},{"type":173,"tag":303,"props":4115,"children":4116},{"style":310},[4117],{"type":179,"value":254},{"type":173,"tag":303,"props":4119,"children":4120},{"style":586},[4121],{"type":179,"value":4122},"find",{"type":173,"tag":303,"props":4124,"children":4125},{"style":378},[4126],{"type":179,"value":962},{"type":173,"tag":303,"props":4128,"children":4129},{"class":305,"line":535},[4130],{"type":173,"tag":303,"props":4131,"children":4132},{"emptyLinePlaceholder":413},[4133],{"type":179,"value":416},{"type":173,"tag":303,"props":4135,"children":4136},{"class":305,"line":543},[4137],{"type":173,"tag":303,"props":4138,"children":4139},{"style":547},[4140],{"type":179,"value":4141},"// $in\n",{"type":173,"tag":303,"props":4143,"children":4144},{"class":305,"line":553},[4145,4149,4153,4157,4161,4165,4169,4173,4177,4181,4185,4189,4193,4197,4201,4206,4210,4214,4219,4223,4227,4231,4236,4240,4244,4248,4253,4257,4262,4266,4270,4274,4278,4282],{"type":173,"tag":303,"props":4146,"children":4147},{"style":322},[4148],{"type":179,"value":559},{"type":173,"tag":303,"props":4150,"children":4151},{"style":378},[4152],{"type":179,"value":3778},{"type":173,"tag":303,"props":4154,"children":4155},{"style":310},[4156],{"type":179,"value":335},{"type":173,"tag":303,"props":4158,"children":4159},{"style":362},[4160],{"type":179,"value":583},{"type":173,"tag":303,"props":4162,"children":4163},{"style":586},[4164],{"type":179,"value":613},{"type":173,"tag":303,"props":4166,"children":4167},{"style":378},[4168],{"type":179,"value":632},{"type":173,"tag":303,"props":4170,"children":4171},{"style":310},[4172],{"type":179,"value":893},{"type":173,"tag":303,"props":4174,"children":4175},{"style":343},[4176],{"type":179,"value":939},{"type":173,"tag":303,"props":4178,"children":4179},{"style":310},[4180],{"type":179,"value":893},{"type":173,"tag":303,"props":4182,"children":4183},{"style":378},[4184],{"type":179,"value":948},{"type":173,"tag":303,"props":4186,"children":4187},{"style":310},[4188],{"type":179,"value":254},{"type":173,"tag":303,"props":4190,"children":4191},{"style":586},[4192],{"type":179,"value":3819},{"type":173,"tag":303,"props":4194,"children":4195},{"style":378},[4196],{"type":179,"value":632},{"type":173,"tag":303,"props":4198,"children":4199},{"style":310},[4200],{"type":179,"value":637},{"type":173,"tag":303,"props":4202,"children":4203},{"style":316},[4204],{"type":179,"value":4205}," name",{"type":173,"tag":303,"props":4207,"children":4208},{"style":310},[4209],{"type":179,"value":459},{"type":173,"tag":303,"props":4211,"children":4212},{"style":310},[4213],{"type":179,"value":375},{"type":173,"tag":303,"props":4215,"children":4216},{"style":316},[4217],{"type":179,"value":4218}," $in",{"type":173,"tag":303,"props":4220,"children":4221},{"style":310},[4222],{"type":179,"value":459},{"type":173,"tag":303,"props":4224,"children":4225},{"style":378},[4226],{"type":179,"value":2282},{"type":173,"tag":303,"props":4228,"children":4229},{"style":310},[4230],{"type":179,"value":893},{"type":173,"tag":303,"props":4232,"children":4233},{"style":343},[4234],{"type":179,"value":4235},"odin",{"type":173,"tag":303,"props":4237,"children":4238},{"style":310},[4239],{"type":179,"value":893},{"type":173,"tag":303,"props":4241,"children":4242},{"style":310},[4243],{"type":179,"value":2300},{"type":173,"tag":303,"props":4245,"children":4246},{"style":310},[4247],{"type":179,"value":396},{"type":173,"tag":303,"props":4249,"children":4250},{"style":343},[4251],{"type":179,"value":4252},"thor",{"type":173,"tag":303,"props":4254,"children":4255},{"style":310},[4256],{"type":179,"value":893},{"type":173,"tag":303,"props":4258,"children":4259},{"style":378},[4260],{"type":179,"value":4261},"] ",{"type":173,"tag":303,"props":4263,"children":4264},{"style":310},[4265],{"type":179,"value":573},{"type":173,"tag":303,"props":4267,"children":4268},{"style":310},[4269],{"type":179,"value":386},{"type":173,"tag":303,"props":4271,"children":4272},{"style":378},[4273],{"type":179,"value":948},{"type":173,"tag":303,"props":4275,"children":4276},{"style":310},[4277],{"type":179,"value":254},{"type":173,"tag":303,"props":4279,"children":4280},{"style":586},[4281],{"type":179,"value":4122},{"type":173,"tag":303,"props":4283,"children":4284},{"style":378},[4285],{"type":179,"value":962},{"type":173,"tag":182,"props":4287,"children":4288},{},[4289],{"type":179,"value":4290},"In order to filter in objects and an array or arrays, you can use the nested properties style:",{"type":173,"tag":293,"props":4292,"children":4294},{"className":2213,"code":4293,"language":346,"meta":167,"style":167},"const products = await queryContent('products').where({ 'categories': { $contains: 'top' } }).find()\n\nconst products = await queryContent('products').where({ 'categories': { $contains: ['top', 'woman'] } }).find()\n",[4295],{"type":173,"tag":198,"props":4296,"children":4297},{"__ignoreMap":167},[4298,4425,4432],{"type":173,"tag":303,"props":4299,"children":4300},{"class":305,"line":306},[4301,4305,4310,4314,4318,4322,4326,4330,4335,4339,4343,4347,4351,4355,4359,4363,4368,4372,4376,4380,4384,4388,4392,4397,4401,4405,4409,4413,4417,4421],{"type":173,"tag":303,"props":4302,"children":4303},{"style":322},[4304],{"type":179,"value":559},{"type":173,"tag":303,"props":4306,"children":4307},{"style":378},[4308],{"type":179,"value":4309}," products ",{"type":173,"tag":303,"props":4311,"children":4312},{"style":310},[4313],{"type":179,"value":335},{"type":173,"tag":303,"props":4315,"children":4316},{"style":362},[4317],{"type":179,"value":583},{"type":173,"tag":303,"props":4319,"children":4320},{"style":586},[4321],{"type":179,"value":613},{"type":173,"tag":303,"props":4323,"children":4324},{"style":378},[4325],{"type":179,"value":632},{"type":173,"tag":303,"props":4327,"children":4328},{"style":310},[4329],{"type":179,"value":893},{"type":173,"tag":303,"props":4331,"children":4332},{"style":343},[4333],{"type":179,"value":4334},"products",{"type":173,"tag":303,"props":4336,"children":4337},{"style":310},[4338],{"type":179,"value":893},{"type":173,"tag":303,"props":4340,"children":4341},{"style":378},[4342],{"type":179,"value":948},{"type":173,"tag":303,"props":4344,"children":4345},{"style":310},[4346],{"type":179,"value":254},{"type":173,"tag":303,"props":4348,"children":4349},{"style":586},[4350],{"type":179,"value":3819},{"type":173,"tag":303,"props":4352,"children":4353},{"style":378},[4354],{"type":179,"value":632},{"type":173,"tag":303,"props":4356,"children":4357},{"style":310},[4358],{"type":179,"value":637},{"type":173,"tag":303,"props":4360,"children":4361},{"style":310},[4362],{"type":179,"value":396},{"type":173,"tag":303,"props":4364,"children":4365},{"style":316},[4366],{"type":179,"value":4367},"categories",{"type":173,"tag":303,"props":4369,"children":4370},{"style":310},[4371],{"type":179,"value":893},{"type":173,"tag":303,"props":4373,"children":4374},{"style":310},[4375],{"type":179,"value":459},{"type":173,"tag":303,"props":4377,"children":4378},{"style":310},[4379],{"type":179,"value":375},{"type":173,"tag":303,"props":4381,"children":4382},{"style":316},[4383],{"type":179,"value":3104},{"type":173,"tag":303,"props":4385,"children":4386},{"style":310},[4387],{"type":179,"value":459},{"type":173,"tag":303,"props":4389,"children":4390},{"style":310},[4391],{"type":179,"value":396},{"type":173,"tag":303,"props":4393,"children":4394},{"style":343},[4395],{"type":179,"value":4396},"top",{"type":173,"tag":303,"props":4398,"children":4399},{"style":310},[4400],{"type":179,"value":893},{"type":173,"tag":303,"props":4402,"children":4403},{"style":310},[4404],{"type":179,"value":386},{"type":173,"tag":303,"props":4406,"children":4407},{"style":310},[4408],{"type":179,"value":386},{"type":173,"tag":303,"props":4410,"children":4411},{"style":378},[4412],{"type":179,"value":948},{"type":173,"tag":303,"props":4414,"children":4415},{"style":310},[4416],{"type":179,"value":254},{"type":173,"tag":303,"props":4418,"children":4419},{"style":586},[4420],{"type":179,"value":4122},{"type":173,"tag":303,"props":4422,"children":4423},{"style":378},[4424],{"type":179,"value":962},{"type":173,"tag":303,"props":4426,"children":4427},{"class":305,"line":358},[4428],{"type":173,"tag":303,"props":4429,"children":4430},{"emptyLinePlaceholder":413},[4431],{"type":179,"value":416},{"type":173,"tag":303,"props":4433,"children":4434},{"class":305,"line":409},[4435,4439,4443,4447,4451,4455,4459,4463,4467,4471,4475,4479,4483,4487,4491,4495,4499,4503,4507,4511,4515,4519,4523,4527,4531,4535,4539,4543,4548,4552,4556,4560,4564,4568,4572,4576],{"type":173,"tag":303,"props":4436,"children":4437},{"style":322},[4438],{"type":179,"value":559},{"type":173,"tag":303,"props":4440,"children":4441},{"style":378},[4442],{"type":179,"value":4309},{"type":173,"tag":303,"props":4444,"children":4445},{"style":310},[4446],{"type":179,"value":335},{"type":173,"tag":303,"props":4448,"children":4449},{"style":362},[4450],{"type":179,"value":583},{"type":173,"tag":303,"props":4452,"children":4453},{"style":586},[4454],{"type":179,"value":613},{"type":173,"tag":303,"props":4456,"children":4457},{"style":378},[4458],{"type":179,"value":632},{"type":173,"tag":303,"props":4460,"children":4461},{"style":310},[4462],{"type":179,"value":893},{"type":173,"tag":303,"props":4464,"children":4465},{"style":343},[4466],{"type":179,"value":4334},{"type":173,"tag":303,"props":4468,"children":4469},{"style":310},[4470],{"type":179,"value":893},{"type":173,"tag":303,"props":4472,"children":4473},{"style":378},[4474],{"type":179,"value":948},{"type":173,"tag":303,"props":4476,"children":4477},{"style":310},[4478],{"type":179,"value":254},{"type":173,"tag":303,"props":4480,"children":4481},{"style":586},[4482],{"type":179,"value":3819},{"type":173,"tag":303,"props":4484,"children":4485},{"style":378},[4486],{"type":179,"value":632},{"type":173,"tag":303,"props":4488,"children":4489},{"style":310},[4490],{"type":179,"value":637},{"type":173,"tag":303,"props":4492,"children":4493},{"style":310},[4494],{"type":179,"value":396},{"type":173,"tag":303,"props":4496,"children":4497},{"style":316},[4498],{"type":179,"value":4367},{"type":173,"tag":303,"props":4500,"children":4501},{"style":310},[4502],{"type":179,"value":893},{"type":173,"tag":303,"props":4504,"children":4505},{"style":310},[4506],{"type":179,"value":459},{"type":173,"tag":303,"props":4508,"children":4509},{"style":310},[4510],{"type":179,"value":375},{"type":173,"tag":303,"props":4512,"children":4513},{"style":316},[4514],{"type":179,"value":3104},{"type":173,"tag":303,"props":4516,"children":4517},{"style":310},[4518],{"type":179,"value":459},{"type":173,"tag":303,"props":4520,"children":4521},{"style":378},[4522],{"type":179,"value":2282},{"type":173,"tag":303,"props":4524,"children":4525},{"style":310},[4526],{"type":179,"value":893},{"type":173,"tag":303,"props":4528,"children":4529},{"style":343},[4530],{"type":179,"value":4396},{"type":173,"tag":303,"props":4532,"children":4533},{"style":310},[4534],{"type":179,"value":893},{"type":173,"tag":303,"props":4536,"children":4537},{"style":310},[4538],{"type":179,"value":2300},{"type":173,"tag":303,"props":4540,"children":4541},{"style":310},[4542],{"type":179,"value":396},{"type":173,"tag":303,"props":4544,"children":4545},{"style":343},[4546],{"type":179,"value":4547},"woman",{"type":173,"tag":303,"props":4549,"children":4550},{"style":310},[4551],{"type":179,"value":893},{"type":173,"tag":303,"props":4553,"children":4554},{"style":378},[4555],{"type":179,"value":4261},{"type":173,"tag":303,"props":4557,"children":4558},{"style":310},[4559],{"type":179,"value":573},{"type":173,"tag":303,"props":4561,"children":4562},{"style":310},[4563],{"type":179,"value":386},{"type":173,"tag":303,"props":4565,"children":4566},{"style":378},[4567],{"type":179,"value":948},{"type":173,"tag":303,"props":4569,"children":4570},{"style":310},[4571],{"type":179,"value":254},{"type":173,"tag":303,"props":4573,"children":4574},{"style":586},[4575],{"type":179,"value":4122},{"type":173,"tag":303,"props":4577,"children":4578},{"style":378},[4579],{"type":179,"value":962},{"type":173,"tag":188,"props":4581,"children":4583},{"id":4582},"sortoptions",[4584],{"type":173,"tag":198,"props":4585,"children":4586},{"className":167},[4587],{"type":179,"value":4588},"sort(options)",{"type":173,"tag":3166,"props":4590,"children":4591},{},[4592],{"type":173,"tag":3170,"props":4593,"children":4594},{},[4595,4600],{"type":173,"tag":198,"props":4596,"children":4597},{"className":167},[4598],{"type":179,"value":4599},"options",{"type":173,"tag":3166,"props":4601,"children":4602},{},[4603,4612],{"type":173,"tag":3170,"props":4604,"children":4605},{},[4606,4607],{"type":179,"value":3678},{"type":173,"tag":198,"props":4608,"children":4609},{"className":167},[4610],{"type":179,"value":4611},"object",{"type":173,"tag":3170,"props":4613,"children":4614},{},[4615],{"type":173,"tag":1105,"props":4616,"children":4617},{},[4618],{"type":179,"value":3691},{"type":173,"tag":182,"props":4620,"children":4621},{},[4622],{"type":179,"value":4623},"Sort results by a field or fields.",{"type":173,"tag":293,"props":4625,"children":4627},{"className":2213,"code":4626,"language":346,"meta":167,"style":167},"// Sort by title ascending\nconst articles = await queryContent('articles')\n  .sort({ title: 1 })\n  .find()\n\n// Sort by title ascending first then sort by category descending\nconst articles = await queryContent('articles')\n  .sort({ title: 1, category: -1 })\n  .find()\n// OR\nconst articles = await queryContent('articles')\n  .sort({ title: 1 })\n  .sort({ category: -1 })\n  .find()\n\n// Sort by nested field\nconst articles = await queryContent('articles')\n  .sort({ 'category.title': 1 })\n  .find()\n\n",[4628],{"type":173,"tag":198,"props":4629,"children":4630},{"__ignoreMap":167},[4631,4639,4682,4724,4739,4746,4754,4797,4859,4874,4882,4925,4964,5007,5022,5030,5039,5083,5132],{"type":173,"tag":303,"props":4632,"children":4633},{"class":305,"line":306},[4634],{"type":173,"tag":303,"props":4635,"children":4636},{"style":547},[4637],{"type":179,"value":4638},"// Sort by title ascending\n",{"type":173,"tag":303,"props":4640,"children":4641},{"class":305,"line":358},[4642,4646,4650,4654,4658,4662,4666,4670,4674,4678],{"type":173,"tag":303,"props":4643,"children":4644},{"style":322},[4645],{"type":179,"value":559},{"type":173,"tag":303,"props":4647,"children":4648},{"style":378},[4649],{"type":179,"value":3778},{"type":173,"tag":303,"props":4651,"children":4652},{"style":310},[4653],{"type":179,"value":335},{"type":173,"tag":303,"props":4655,"children":4656},{"style":362},[4657],{"type":179,"value":583},{"type":173,"tag":303,"props":4659,"children":4660},{"style":586},[4661],{"type":179,"value":613},{"type":173,"tag":303,"props":4663,"children":4664},{"style":378},[4665],{"type":179,"value":632},{"type":173,"tag":303,"props":4667,"children":4668},{"style":310},[4669],{"type":179,"value":893},{"type":173,"tag":303,"props":4671,"children":4672},{"style":343},[4673],{"type":179,"value":939},{"type":173,"tag":303,"props":4675,"children":4676},{"style":310},[4677],{"type":179,"value":893},{"type":173,"tag":303,"props":4679,"children":4680},{"style":378},[4681],{"type":179,"value":656},{"type":173,"tag":303,"props":4683,"children":4684},{"class":305,"line":409},[4685,4690,4695,4699,4703,4707,4711,4716,4720],{"type":173,"tag":303,"props":4686,"children":4687},{"style":310},[4688],{"type":179,"value":4689},"  .",{"type":173,"tag":303,"props":4691,"children":4692},{"style":586},[4693],{"type":179,"value":4694},"sort",{"type":173,"tag":303,"props":4696,"children":4697},{"style":378},[4698],{"type":179,"value":632},{"type":173,"tag":303,"props":4700,"children":4701},{"style":310},[4702],{"type":179,"value":637},{"type":173,"tag":303,"props":4704,"children":4705},{"style":316},[4706],{"type":179,"value":3832},{"type":173,"tag":303,"props":4708,"children":4709},{"style":310},[4710],{"type":179,"value":459},{"type":173,"tag":303,"props":4712,"children":4713},{"style":4098},[4714],{"type":179,"value":4715}," 1",{"type":173,"tag":303,"props":4717,"children":4718},{"style":310},[4719],{"type":179,"value":386},{"type":173,"tag":303,"props":4721,"children":4722},{"style":378},[4723],{"type":179,"value":656},{"type":173,"tag":303,"props":4725,"children":4726},{"class":305,"line":419},[4727,4731,4735],{"type":173,"tag":303,"props":4728,"children":4729},{"style":310},[4730],{"type":179,"value":4689},{"type":173,"tag":303,"props":4732,"children":4733},{"style":586},[4734],{"type":179,"value":4122},{"type":173,"tag":303,"props":4736,"children":4737},{"style":378},[4738],{"type":179,"value":962},{"type":173,"tag":303,"props":4740,"children":4741},{"class":305,"line":448},[4742],{"type":173,"tag":303,"props":4743,"children":4744},{"emptyLinePlaceholder":413},[4745],{"type":179,"value":416},{"type":173,"tag":303,"props":4747,"children":4748},{"class":305,"line":475},[4749],{"type":173,"tag":303,"props":4750,"children":4751},{"style":547},[4752],{"type":179,"value":4753},"// Sort by title ascending first then sort by category descending\n",{"type":173,"tag":303,"props":4755,"children":4756},{"class":305,"line":501},[4757,4761,4765,4769,4773,4777,4781,4785,4789,4793],{"type":173,"tag":303,"props":4758,"children":4759},{"style":322},[4760],{"type":179,"value":559},{"type":173,"tag":303,"props":4762,"children":4763},{"style":378},[4764],{"type":179,"value":3778},{"type":173,"tag":303,"props":4766,"children":4767},{"style":310},[4768],{"type":179,"value":335},{"type":173,"tag":303,"props":4770,"children":4771},{"style":362},[4772],{"type":179,"value":583},{"type":173,"tag":303,"props":4774,"children":4775},{"style":586},[4776],{"type":179,"value":613},{"type":173,"tag":303,"props":4778,"children":4779},{"style":378},[4780],{"type":179,"value":632},{"type":173,"tag":303,"props":4782,"children":4783},{"style":310},[4784],{"type":179,"value":893},{"type":173,"tag":303,"props":4786,"children":4787},{"style":343},[4788],{"type":179,"value":939},{"type":173,"tag":303,"props":4790,"children":4791},{"style":310},[4792],{"type":179,"value":893},{"type":173,"tag":303,"props":4794,"children":4795},{"style":378},[4796],{"type":179,"value":656},{"type":173,"tag":303,"props":4798,"children":4799},{"class":305,"line":526},[4800,4804,4808,4812,4816,4820,4824,4828,4832,4837,4841,4846,4851,4855],{"type":173,"tag":303,"props":4801,"children":4802},{"style":310},[4803],{"type":179,"value":4689},{"type":173,"tag":303,"props":4805,"children":4806},{"style":586},[4807],{"type":179,"value":4694},{"type":173,"tag":303,"props":4809,"children":4810},{"style":378},[4811],{"type":179,"value":632},{"type":173,"tag":303,"props":4813,"children":4814},{"style":310},[4815],{"type":179,"value":637},{"type":173,"tag":303,"props":4817,"children":4818},{"style":316},[4819],{"type":179,"value":3832},{"type":173,"tag":303,"props":4821,"children":4822},{"style":310},[4823],{"type":179,"value":459},{"type":173,"tag":303,"props":4825,"children":4826},{"style":4098},[4827],{"type":179,"value":4715},{"type":173,"tag":303,"props":4829,"children":4830},{"style":310},[4831],{"type":179,"value":2300},{"type":173,"tag":303,"props":4833,"children":4834},{"style":316},[4835],{"type":179,"value":4836}," category",{"type":173,"tag":303,"props":4838,"children":4839},{"style":310},[4840],{"type":179,"value":459},{"type":173,"tag":303,"props":4842,"children":4843},{"style":310},[4844],{"type":179,"value":4845}," -",{"type":173,"tag":303,"props":4847,"children":4848},{"style":4098},[4849],{"type":179,"value":4850},"1",{"type":173,"tag":303,"props":4852,"children":4853},{"style":310},[4854],{"type":179,"value":386},{"type":173,"tag":303,"props":4856,"children":4857},{"style":378},[4858],{"type":179,"value":656},{"type":173,"tag":303,"props":4860,"children":4861},{"class":305,"line":535},[4862,4866,4870],{"type":173,"tag":303,"props":4863,"children":4864},{"style":310},[4865],{"type":179,"value":4689},{"type":173,"tag":303,"props":4867,"children":4868},{"style":586},[4869],{"type":179,"value":4122},{"type":173,"tag":303,"props":4871,"children":4872},{"style":378},[4873],{"type":179,"value":962},{"type":173,"tag":303,"props":4875,"children":4876},{"class":305,"line":543},[4877],{"type":173,"tag":303,"props":4878,"children":4879},{"style":547},[4880],{"type":179,"value":4881},"// OR\n",{"type":173,"tag":303,"props":4883,"children":4884},{"class":305,"line":553},[4885,4889,4893,4897,4901,4905,4909,4913,4917,4921],{"type":173,"tag":303,"props":4886,"children":4887},{"style":322},[4888],{"type":179,"value":559},{"type":173,"tag":303,"props":4890,"children":4891},{"style":378},[4892],{"type":179,"value":3778},{"type":173,"tag":303,"props":4894,"children":4895},{"style":310},[4896],{"type":179,"value":335},{"type":173,"tag":303,"props":4898,"children":4899},{"style":362},[4900],{"type":179,"value":583},{"type":173,"tag":303,"props":4902,"children":4903},{"style":586},[4904],{"type":179,"value":613},{"type":173,"tag":303,"props":4906,"children":4907},{"style":378},[4908],{"type":179,"value":632},{"type":173,"tag":303,"props":4910,"children":4911},{"style":310},[4912],{"type":179,"value":893},{"type":173,"tag":303,"props":4914,"children":4915},{"style":343},[4916],{"type":179,"value":939},{"type":173,"tag":303,"props":4918,"children":4919},{"style":310},[4920],{"type":179,"value":893},{"type":173,"tag":303,"props":4922,"children":4923},{"style":378},[4924],{"type":179,"value":656},{"type":173,"tag":303,"props":4926,"children":4927},{"class":305,"line":597},[4928,4932,4936,4940,4944,4948,4952,4956,4960],{"type":173,"tag":303,"props":4929,"children":4930},{"style":310},[4931],{"type":179,"value":4689},{"type":173,"tag":303,"props":4933,"children":4934},{"style":586},[4935],{"type":179,"value":4694},{"type":173,"tag":303,"props":4937,"children":4938},{"style":378},[4939],{"type":179,"value":632},{"type":173,"tag":303,"props":4941,"children":4942},{"style":310},[4943],{"type":179,"value":637},{"type":173,"tag":303,"props":4945,"children":4946},{"style":316},[4947],{"type":179,"value":3832},{"type":173,"tag":303,"props":4949,"children":4950},{"style":310},[4951],{"type":179,"value":459},{"type":173,"tag":303,"props":4953,"children":4954},{"style":4098},[4955],{"type":179,"value":4715},{"type":173,"tag":303,"props":4957,"children":4958},{"style":310},[4959],{"type":179,"value":386},{"type":173,"tag":303,"props":4961,"children":4962},{"style":378},[4963],{"type":179,"value":656},{"type":173,"tag":303,"props":4965,"children":4966},{"class":305,"line":659},[4967,4971,4975,4979,4983,4987,4991,4995,4999,5003],{"type":173,"tag":303,"props":4968,"children":4969},{"style":310},[4970],{"type":179,"value":4689},{"type":173,"tag":303,"props":4972,"children":4973},{"style":586},[4974],{"type":179,"value":4694},{"type":173,"tag":303,"props":4976,"children":4977},{"style":378},[4978],{"type":179,"value":632},{"type":173,"tag":303,"props":4980,"children":4981},{"style":310},[4982],{"type":179,"value":637},{"type":173,"tag":303,"props":4984,"children":4985},{"style":316},[4986],{"type":179,"value":4836},{"type":173,"tag":303,"props":4988,"children":4989},{"style":310},[4990],{"type":179,"value":459},{"type":173,"tag":303,"props":4992,"children":4993},{"style":310},[4994],{"type":179,"value":4845},{"type":173,"tag":303,"props":4996,"children":4997},{"style":4098},[4998],{"type":179,"value":4850},{"type":173,"tag":303,"props":5000,"children":5001},{"style":310},[5002],{"type":179,"value":386},{"type":173,"tag":303,"props":5004,"children":5005},{"style":378},[5006],{"type":179,"value":656},{"type":173,"tag":303,"props":5008,"children":5009},{"class":305,"line":667},[5010,5014,5018],{"type":173,"tag":303,"props":5011,"children":5012},{"style":310},[5013],{"type":179,"value":4689},{"type":173,"tag":303,"props":5015,"children":5016},{"style":586},[5017],{"type":179,"value":4122},{"type":173,"tag":303,"props":5019,"children":5020},{"style":378},[5021],{"type":179,"value":962},{"type":173,"tag":303,"props":5023,"children":5025},{"class":305,"line":5024},15,[5026],{"type":173,"tag":303,"props":5027,"children":5028},{"emptyLinePlaceholder":413},[5029],{"type":179,"value":416},{"type":173,"tag":303,"props":5031,"children":5033},{"class":305,"line":5032},16,[5034],{"type":173,"tag":303,"props":5035,"children":5036},{"style":547},[5037],{"type":179,"value":5038},"// Sort by nested field\n",{"type":173,"tag":303,"props":5040,"children":5042},{"class":305,"line":5041},17,[5043,5047,5051,5055,5059,5063,5067,5071,5075,5079],{"type":173,"tag":303,"props":5044,"children":5045},{"style":322},[5046],{"type":179,"value":559},{"type":173,"tag":303,"props":5048,"children":5049},{"style":378},[5050],{"type":179,"value":3778},{"type":173,"tag":303,"props":5052,"children":5053},{"style":310},[5054],{"type":179,"value":335},{"type":173,"tag":303,"props":5056,"children":5057},{"style":362},[5058],{"type":179,"value":583},{"type":173,"tag":303,"props":5060,"children":5061},{"style":586},[5062],{"type":179,"value":613},{"type":173,"tag":303,"props":5064,"children":5065},{"style":378},[5066],{"type":179,"value":632},{"type":173,"tag":303,"props":5068,"children":5069},{"style":310},[5070],{"type":179,"value":893},{"type":173,"tag":303,"props":5072,"children":5073},{"style":343},[5074],{"type":179,"value":939},{"type":173,"tag":303,"props":5076,"children":5077},{"style":310},[5078],{"type":179,"value":893},{"type":173,"tag":303,"props":5080,"children":5081},{"style":378},[5082],{"type":179,"value":656},{"type":173,"tag":303,"props":5084,"children":5086},{"class":305,"line":5085},18,[5087,5091,5095,5099,5103,5107,5112,5116,5120,5124,5128],{"type":173,"tag":303,"props":5088,"children":5089},{"style":310},[5090],{"type":179,"value":4689},{"type":173,"tag":303,"props":5092,"children":5093},{"style":586},[5094],{"type":179,"value":4694},{"type":173,"tag":303,"props":5096,"children":5097},{"style":378},[5098],{"type":179,"value":632},{"type":173,"tag":303,"props":5100,"children":5101},{"style":310},[5102],{"type":179,"value":637},{"type":173,"tag":303,"props":5104,"children":5105},{"style":310},[5106],{"type":179,"value":396},{"type":173,"tag":303,"props":5108,"children":5109},{"style":316},[5110],{"type":179,"value":5111},"category.title",{"type":173,"tag":303,"props":5113,"children":5114},{"style":310},[5115],{"type":179,"value":893},{"type":173,"tag":303,"props":5117,"children":5118},{"style":310},[5119],{"type":179,"value":459},{"type":173,"tag":303,"props":5121,"children":5122},{"style":4098},[5123],{"type":179,"value":4715},{"type":173,"tag":303,"props":5125,"children":5126},{"style":310},[5127],{"type":179,"value":386},{"type":173,"tag":303,"props":5129,"children":5130},{"style":378},[5131],{"type":179,"value":656},{"type":173,"tag":303,"props":5133,"children":5135},{"class":305,"line":5134},19,[5136,5140,5144],{"type":173,"tag":303,"props":5137,"children":5138},{"style":310},[5139],{"type":179,"value":4689},{"type":173,"tag":303,"props":5141,"children":5142},{"style":586},[5143],{"type":179,"value":4122},{"type":173,"tag":303,"props":5145,"children":5146},{"style":378},[5147],{"type":179,"value":962},{"type":173,"tag":5149,"props":5150,"children":5151},"blockquote",{},[5152,5182],{"type":173,"tag":182,"props":5153,"children":5154},{},[5155,5160,5162,5167,5169,5174,5176,5181],{"type":173,"tag":198,"props":5156,"children":5157},{"className":167},[5158],{"type":179,"value":5159},"sort()",{"type":179,"value":5161}," method does ",{"type":173,"tag":1105,"props":5163,"children":5164},{},[5165],{"type":179,"value":5166},"case-sensitive, alphabetical",{"type":179,"value":5168}," sort by default. There is some magical options you can pass to sort options to change sort behavior, like sorting ",{"type":173,"tag":1105,"props":5170,"children":5171},{},[5172],{"type":179,"value":5173},"case-insensitive",{"type":179,"value":5175}," or ",{"type":173,"tag":1105,"props":5177,"children":5178},{},[5179],{"type":179,"value":5180},"numerically rather than alphabetically",{"type":179,"value":254},{"type":173,"tag":3166,"props":5183,"children":5184},{},[5185,5202,5218],{"type":173,"tag":3170,"props":5186,"children":5187},{},[5188,5193,5195,5200],{"type":173,"tag":198,"props":5189,"children":5190},{"className":167},[5191],{"type":179,"value":5192},"$sensitivity",{"type":179,"value":5194},": Change case sensitivity. Like using ",{"type":173,"tag":198,"props":5196,"children":5197},{"className":167},[5198],{"type":179,"value":5199},"$sensitivity: 'base'",{"type":179,"value":5201}," for case-insensitive sort",{"type":173,"tag":3170,"props":5203,"children":5204},{},[5205,5210,5212,5217],{"type":173,"tag":198,"props":5206,"children":5207},{"className":167},[5208],{"type":179,"value":5209},"$numeric",{"type":179,"value":5211},": Boolean whether numeric collation should be used, such that ",{"type":173,"tag":198,"props":5213,"children":5214},{"className":167},[5215],{"type":179,"value":5216},"\"1\" \u003C \"2\" \u003C \"10\"",{"type":179,"value":254},{"type":173,"tag":3170,"props":5219,"children":5220},{},[5221,5226],{"type":173,"tag":198,"props":5222,"children":5223},{"className":167},[5224],{"type":179,"value":5225},"$caseFirst",{"type":179,"value":5227},": Whether upper case or lower case should sort first.",{"type":173,"tag":182,"props":5229,"children":5230},{},[5231],{"type":179,"value":5232},"For example, to sort a list of people from youngest to oldest:",{"type":173,"tag":293,"props":5234,"children":5236},{"className":2213,"code":5235,"language":346,"meta":167,"style":167},"const people = await queryContent('people')\n  .sort({ age: 1, $numeric: true })\n  .find()\n",[5237],{"type":173,"tag":198,"props":5238,"children":5239},{"__ignoreMap":167},[5240,5285,5342],{"type":173,"tag":303,"props":5241,"children":5242},{"class":305,"line":306},[5243,5247,5252,5256,5260,5264,5268,5272,5277,5281],{"type":173,"tag":303,"props":5244,"children":5245},{"style":322},[5246],{"type":179,"value":559},{"type":173,"tag":303,"props":5248,"children":5249},{"style":378},[5250],{"type":179,"value":5251}," people ",{"type":173,"tag":303,"props":5253,"children":5254},{"style":310},[5255],{"type":179,"value":335},{"type":173,"tag":303,"props":5257,"children":5258},{"style":362},[5259],{"type":179,"value":583},{"type":173,"tag":303,"props":5261,"children":5262},{"style":586},[5263],{"type":179,"value":613},{"type":173,"tag":303,"props":5265,"children":5266},{"style":378},[5267],{"type":179,"value":632},{"type":173,"tag":303,"props":5269,"children":5270},{"style":310},[5271],{"type":179,"value":893},{"type":173,"tag":303,"props":5273,"children":5274},{"style":343},[5275],{"type":179,"value":5276},"people",{"type":173,"tag":303,"props":5278,"children":5279},{"style":310},[5280],{"type":179,"value":893},{"type":173,"tag":303,"props":5282,"children":5283},{"style":378},[5284],{"type":179,"value":656},{"type":173,"tag":303,"props":5286,"children":5287},{"class":305,"line":358},[5288,5292,5296,5300,5304,5308,5312,5316,5320,5325,5329,5334,5338],{"type":173,"tag":303,"props":5289,"children":5290},{"style":310},[5291],{"type":179,"value":4689},{"type":173,"tag":303,"props":5293,"children":5294},{"style":586},[5295],{"type":179,"value":4694},{"type":173,"tag":303,"props":5297,"children":5298},{"style":378},[5299],{"type":179,"value":632},{"type":173,"tag":303,"props":5301,"children":5302},{"style":310},[5303],{"type":179,"value":637},{"type":173,"tag":303,"props":5305,"children":5306},{"style":316},[5307],{"type":179,"value":4078},{"type":173,"tag":303,"props":5309,"children":5310},{"style":310},[5311],{"type":179,"value":459},{"type":173,"tag":303,"props":5313,"children":5314},{"style":4098},[5315],{"type":179,"value":4715},{"type":173,"tag":303,"props":5317,"children":5318},{"style":310},[5319],{"type":179,"value":2300},{"type":173,"tag":303,"props":5321,"children":5322},{"style":316},[5323],{"type":179,"value":5324}," $numeric",{"type":173,"tag":303,"props":5326,"children":5327},{"style":310},[5328],{"type":179,"value":459},{"type":173,"tag":303,"props":5330,"children":5331},{"style":2682},[5332],{"type":179,"value":5333}," true",{"type":173,"tag":303,"props":5335,"children":5336},{"style":310},[5337],{"type":179,"value":386},{"type":173,"tag":303,"props":5339,"children":5340},{"style":378},[5341],{"type":179,"value":656},{"type":173,"tag":303,"props":5343,"children":5344},{"class":305,"line":409},[5345,5349,5353],{"type":173,"tag":303,"props":5346,"children":5347},{"style":310},[5348],{"type":179,"value":4689},{"type":173,"tag":303,"props":5350,"children":5351},{"style":586},[5352],{"type":179,"value":4122},{"type":173,"tag":303,"props":5354,"children":5355},{"style":378},[5356],{"type":179,"value":962},{"type":173,"tag":182,"props":5358,"children":5359},{},[5360,5362,5369],{"type":179,"value":5361},"These options are given to ",{"type":173,"tag":205,"props":5363,"children":5366},{"href":5364,"rel":5365},"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Collator/Collator#parameters",[209],[5367],{"type":179,"value":5368},"Intl.Collator()",{"type":179,"value":254},{"type":173,"tag":188,"props":5371,"children":5373},{"id":5372},"limitcount",[5374],{"type":173,"tag":198,"props":5375,"children":5376},{"className":167},[5377],{"type":179,"value":5378},"limit(count)",{"type":173,"tag":3166,"props":5380,"children":5381},{},[5382],{"type":173,"tag":3170,"props":5383,"children":5384},{},[5385,5390],{"type":173,"tag":198,"props":5386,"children":5387},{"className":167},[5388],{"type":179,"value":5389},"count",{"type":173,"tag":3166,"props":5391,"children":5392},{},[5393,5402],{"type":173,"tag":3170,"props":5394,"children":5395},{},[5396,5397],{"type":179,"value":3678},{"type":173,"tag":198,"props":5398,"children":5399},{"className":167},[5400],{"type":179,"value":5401},"number",{"type":173,"tag":3170,"props":5403,"children":5404},{},[5405],{"type":173,"tag":1105,"props":5406,"children":5407},{},[5408],{"type":179,"value":3691},{"type":173,"tag":182,"props":5410,"children":5411},{},[5412],{"type":179,"value":5413},"Limit number of results.",{"type":173,"tag":293,"props":5415,"children":5417},{"className":2213,"code":5416,"language":346,"meta":167,"style":167},"// fetch only 5 articles\nconst articles = await queryContent('articles').limit(5).find()\n",[5418],{"type":173,"tag":198,"props":5419,"children":5420},{"__ignoreMap":167},[5421,5429],{"type":173,"tag":303,"props":5422,"children":5423},{"class":305,"line":306},[5424],{"type":173,"tag":303,"props":5425,"children":5426},{"style":547},[5427],{"type":179,"value":5428},"// fetch only 5 articles\n",{"type":173,"tag":303,"props":5430,"children":5431},{"class":305,"line":358},[5432,5436,5440,5444,5448,5452,5456,5460,5464,5468,5472,5476,5481,5485,5490,5494,5498,5502],{"type":173,"tag":303,"props":5433,"children":5434},{"style":322},[5435],{"type":179,"value":559},{"type":173,"tag":303,"props":5437,"children":5438},{"style":378},[5439],{"type":179,"value":3778},{"type":173,"tag":303,"props":5441,"children":5442},{"style":310},[5443],{"type":179,"value":335},{"type":173,"tag":303,"props":5445,"children":5446},{"style":362},[5447],{"type":179,"value":583},{"type":173,"tag":303,"props":5449,"children":5450},{"style":586},[5451],{"type":179,"value":613},{"type":173,"tag":303,"props":5453,"children":5454},{"style":378},[5455],{"type":179,"value":632},{"type":173,"tag":303,"props":5457,"children":5458},{"style":310},[5459],{"type":179,"value":893},{"type":173,"tag":303,"props":5461,"children":5462},{"style":343},[5463],{"type":179,"value":939},{"type":173,"tag":303,"props":5465,"children":5466},{"style":310},[5467],{"type":179,"value":893},{"type":173,"tag":303,"props":5469,"children":5470},{"style":378},[5471],{"type":179,"value":948},{"type":173,"tag":303,"props":5473,"children":5474},{"style":310},[5475],{"type":179,"value":254},{"type":173,"tag":303,"props":5477,"children":5478},{"style":586},[5479],{"type":179,"value":5480},"limit",{"type":173,"tag":303,"props":5482,"children":5483},{"style":378},[5484],{"type":179,"value":632},{"type":173,"tag":303,"props":5486,"children":5487},{"style":4098},[5488],{"type":179,"value":5489},"5",{"type":173,"tag":303,"props":5491,"children":5492},{"style":378},[5493],{"type":179,"value":948},{"type":173,"tag":303,"props":5495,"children":5496},{"style":310},[5497],{"type":179,"value":254},{"type":173,"tag":303,"props":5499,"children":5500},{"style":586},[5501],{"type":179,"value":4122},{"type":173,"tag":303,"props":5503,"children":5504},{"style":378},[5505],{"type":179,"value":962},{"type":173,"tag":188,"props":5507,"children":5509},{"id":5508},"skipcount",[5510],{"type":173,"tag":198,"props":5511,"children":5512},{"className":167},[5513],{"type":179,"value":5514},"skip(count)",{"type":173,"tag":3166,"props":5516,"children":5517},{},[5518],{"type":173,"tag":3170,"props":5519,"children":5520},{},[5521,5525],{"type":173,"tag":198,"props":5522,"children":5523},{"className":167},[5524],{"type":179,"value":5389},{"type":173,"tag":3166,"props":5526,"children":5527},{},[5528,5536],{"type":173,"tag":3170,"props":5529,"children":5530},{},[5531,5532],{"type":179,"value":3678},{"type":173,"tag":198,"props":5533,"children":5534},{"className":167},[5535],{"type":179,"value":5401},{"type":173,"tag":3170,"props":5537,"children":5538},{},[5539],{"type":173,"tag":1105,"props":5540,"children":5541},{},[5542],{"type":179,"value":3691},{"type":173,"tag":182,"props":5544,"children":5545},{},[5546],{"type":179,"value":5547},"Skip results.",{"type":173,"tag":293,"props":5549,"children":5551},{"className":2213,"code":5550,"language":346,"meta":167,"style":167},"// fetch the next 5 articles\nconst articles = await queryContent('articles')\n    .skip(5)\n    .limit(5)\n    .find()\n",[5552],{"type":173,"tag":198,"props":5553,"children":5554},{"__ignoreMap":167},[5555,5563,5606,5631,5654],{"type":173,"tag":303,"props":5556,"children":5557},{"class":305,"line":306},[5558],{"type":173,"tag":303,"props":5559,"children":5560},{"style":547},[5561],{"type":179,"value":5562},"// fetch the next 5 articles\n",{"type":173,"tag":303,"props":5564,"children":5565},{"class":305,"line":358},[5566,5570,5574,5578,5582,5586,5590,5594,5598,5602],{"type":173,"tag":303,"props":5567,"children":5568},{"style":322},[5569],{"type":179,"value":559},{"type":173,"tag":303,"props":5571,"children":5572},{"style":378},[5573],{"type":179,"value":3778},{"type":173,"tag":303,"props":5575,"children":5576},{"style":310},[5577],{"type":179,"value":335},{"type":173,"tag":303,"props":5579,"children":5580},{"style":362},[5581],{"type":179,"value":583},{"type":173,"tag":303,"props":5583,"children":5584},{"style":586},[5585],{"type":179,"value":613},{"type":173,"tag":303,"props":5587,"children":5588},{"style":378},[5589],{"type":179,"value":632},{"type":173,"tag":303,"props":5591,"children":5592},{"style":310},[5593],{"type":179,"value":893},{"type":173,"tag":303,"props":5595,"children":5596},{"style":343},[5597],{"type":179,"value":939},{"type":173,"tag":303,"props":5599,"children":5600},{"style":310},[5601],{"type":179,"value":893},{"type":173,"tag":303,"props":5603,"children":5604},{"style":378},[5605],{"type":179,"value":656},{"type":173,"tag":303,"props":5607,"children":5608},{"class":305,"line":409},[5609,5614,5619,5623,5627],{"type":173,"tag":303,"props":5610,"children":5611},{"style":310},[5612],{"type":179,"value":5613},"    .",{"type":173,"tag":303,"props":5615,"children":5616},{"style":586},[5617],{"type":179,"value":5618},"skip",{"type":173,"tag":303,"props":5620,"children":5621},{"style":378},[5622],{"type":179,"value":632},{"type":173,"tag":303,"props":5624,"children":5625},{"style":4098},[5626],{"type":179,"value":5489},{"type":173,"tag":303,"props":5628,"children":5629},{"style":378},[5630],{"type":179,"value":656},{"type":173,"tag":303,"props":5632,"children":5633},{"class":305,"line":419},[5634,5638,5642,5646,5650],{"type":173,"tag":303,"props":5635,"children":5636},{"style":310},[5637],{"type":179,"value":5613},{"type":173,"tag":303,"props":5639,"children":5640},{"style":586},[5641],{"type":179,"value":5480},{"type":173,"tag":303,"props":5643,"children":5644},{"style":378},[5645],{"type":179,"value":632},{"type":173,"tag":303,"props":5647,"children":5648},{"style":4098},[5649],{"type":179,"value":5489},{"type":173,"tag":303,"props":5651,"children":5652},{"style":378},[5653],{"type":179,"value":656},{"type":173,"tag":303,"props":5655,"children":5656},{"class":305,"line":448},[5657,5661,5665],{"type":173,"tag":303,"props":5658,"children":5659},{"style":310},[5660],{"type":179,"value":5613},{"type":173,"tag":303,"props":5662,"children":5663},{"style":586},[5664],{"type":179,"value":4122},{"type":173,"tag":303,"props":5666,"children":5667},{"style":378},[5668],{"type":179,"value":962},{"type":173,"tag":188,"props":5670,"children":5672},{"id":5671},"withoutkeys",[5673],{"type":173,"tag":198,"props":5674,"children":5675},{"className":167},[5676],{"type":179,"value":5677},"without(keys)",{"type":173,"tag":3166,"props":5679,"children":5680},{},[5681],{"type":173,"tag":3170,"props":5682,"children":5683},{},[5684,5688],{"type":173,"tag":198,"props":5685,"children":5686},{"className":167},[5687],{"type":179,"value":468},{"type":173,"tag":3166,"props":5689,"children":5690},{},[5691,5706],{"type":173,"tag":3170,"props":5692,"children":5693},{},[5694,5695,5700,5701],{"type":179,"value":3678},{"type":173,"tag":198,"props":5696,"children":5697},{"className":167},[5698],{"type":179,"value":5699},"string[]",{"type":179,"value":5175},{"type":173,"tag":198,"props":5702,"children":5703},{"className":167},[5704],{"type":179,"value":5705},"string",{"type":173,"tag":3170,"props":5707,"children":5708},{},[5709],{"type":173,"tag":1105,"props":5710,"children":5711},{},[5712],{"type":179,"value":3691},{"type":173,"tag":182,"props":5714,"children":5715},{},[5716],{"type":179,"value":5717},"Remove a subset of fields.",{"type":173,"tag":293,"props":5719,"children":5721},{"className":2213,"code":5720,"language":346,"meta":167,"style":167},"const articles = await queryContent('articles').without('unused-key').find()\n\nconst articles = await queryContent('articles').without(['unused-key', 'another-unused-key']).find()\n",[5722],{"type":173,"tag":198,"props":5723,"children":5724},{"__ignoreMap":167},[5725,5810,5817],{"type":173,"tag":303,"props":5726,"children":5727},{"class":305,"line":306},[5728,5732,5736,5740,5744,5748,5752,5756,5760,5764,5768,5772,5777,5781,5785,5790,5794,5798,5802,5806],{"type":173,"tag":303,"props":5729,"children":5730},{"style":322},[5731],{"type":179,"value":559},{"type":173,"tag":303,"props":5733,"children":5734},{"style":378},[5735],{"type":179,"value":3778},{"type":173,"tag":303,"props":5737,"children":5738},{"style":310},[5739],{"type":179,"value":335},{"type":173,"tag":303,"props":5741,"children":5742},{"style":362},[5743],{"type":179,"value":583},{"type":173,"tag":303,"props":5745,"children":5746},{"style":586},[5747],{"type":179,"value":613},{"type":173,"tag":303,"props":5749,"children":5750},{"style":378},[5751],{"type":179,"value":632},{"type":173,"tag":303,"props":5753,"children":5754},{"style":310},[5755],{"type":179,"value":893},{"type":173,"tag":303,"props":5757,"children":5758},{"style":343},[5759],{"type":179,"value":939},{"type":173,"tag":303,"props":5761,"children":5762},{"style":310},[5763],{"type":179,"value":893},{"type":173,"tag":303,"props":5765,"children":5766},{"style":378},[5767],{"type":179,"value":948},{"type":173,"tag":303,"props":5769,"children":5770},{"style":310},[5771],{"type":179,"value":254},{"type":173,"tag":303,"props":5773,"children":5774},{"style":586},[5775],{"type":179,"value":5776},"without",{"type":173,"tag":303,"props":5778,"children":5779},{"style":378},[5780],{"type":179,"value":632},{"type":173,"tag":303,"props":5782,"children":5783},{"style":310},[5784],{"type":179,"value":893},{"type":173,"tag":303,"props":5786,"children":5787},{"style":343},[5788],{"type":179,"value":5789},"unused-key",{"type":173,"tag":303,"props":5791,"children":5792},{"style":310},[5793],{"type":179,"value":893},{"type":173,"tag":303,"props":5795,"children":5796},{"style":378},[5797],{"type":179,"value":948},{"type":173,"tag":303,"props":5799,"children":5800},{"style":310},[5801],{"type":179,"value":254},{"type":173,"tag":303,"props":5803,"children":5804},{"style":586},[5805],{"type":179,"value":4122},{"type":173,"tag":303,"props":5807,"children":5808},{"style":378},[5809],{"type":179,"value":962},{"type":173,"tag":303,"props":5811,"children":5812},{"class":305,"line":358},[5813],{"type":173,"tag":303,"props":5814,"children":5815},{"emptyLinePlaceholder":413},[5816],{"type":179,"value":416},{"type":173,"tag":303,"props":5818,"children":5819},{"class":305,"line":409},[5820,5824,5828,5832,5836,5840,5844,5848,5852,5856,5860,5864,5868,5873,5877,5881,5885,5889,5893,5898,5902,5907,5911,5915],{"type":173,"tag":303,"props":5821,"children":5822},{"style":322},[5823],{"type":179,"value":559},{"type":173,"tag":303,"props":5825,"children":5826},{"style":378},[5827],{"type":179,"value":3778},{"type":173,"tag":303,"props":5829,"children":5830},{"style":310},[5831],{"type":179,"value":335},{"type":173,"tag":303,"props":5833,"children":5834},{"style":362},[5835],{"type":179,"value":583},{"type":173,"tag":303,"props":5837,"children":5838},{"style":586},[5839],{"type":179,"value":613},{"type":173,"tag":303,"props":5841,"children":5842},{"style":378},[5843],{"type":179,"value":632},{"type":173,"tag":303,"props":5845,"children":5846},{"style":310},[5847],{"type":179,"value":893},{"type":173,"tag":303,"props":5849,"children":5850},{"style":343},[5851],{"type":179,"value":939},{"type":173,"tag":303,"props":5853,"children":5854},{"style":310},[5855],{"type":179,"value":893},{"type":173,"tag":303,"props":5857,"children":5858},{"style":378},[5859],{"type":179,"value":948},{"type":173,"tag":303,"props":5861,"children":5862},{"style":310},[5863],{"type":179,"value":254},{"type":173,"tag":303,"props":5865,"children":5866},{"style":586},[5867],{"type":179,"value":5776},{"type":173,"tag":303,"props":5869,"children":5870},{"style":378},[5871],{"type":179,"value":5872},"([",{"type":173,"tag":303,"props":5874,"children":5875},{"style":310},[5876],{"type":179,"value":893},{"type":173,"tag":303,"props":5878,"children":5879},{"style":343},[5880],{"type":179,"value":5789},{"type":173,"tag":303,"props":5882,"children":5883},{"style":310},[5884],{"type":179,"value":893},{"type":173,"tag":303,"props":5886,"children":5887},{"style":310},[5888],{"type":179,"value":2300},{"type":173,"tag":303,"props":5890,"children":5891},{"style":310},[5892],{"type":179,"value":396},{"type":173,"tag":303,"props":5894,"children":5895},{"style":343},[5896],{"type":179,"value":5897},"another-unused-key",{"type":173,"tag":303,"props":5899,"children":5900},{"style":310},[5901],{"type":179,"value":893},{"type":173,"tag":303,"props":5903,"children":5904},{"style":378},[5905],{"type":179,"value":5906},"])",{"type":173,"tag":303,"props":5908,"children":5909},{"style":310},[5910],{"type":179,"value":254},{"type":173,"tag":303,"props":5912,"children":5913},{"style":586},[5914],{"type":179,"value":4122},{"type":173,"tag":303,"props":5916,"children":5917},{"style":378},[5918],{"type":179,"value":962},{"type":173,"tag":188,"props":5920,"children":5922},{"id":5921},"onlykeys",[5923],{"type":173,"tag":198,"props":5924,"children":5925},{"className":167},[5926],{"type":179,"value":5927},"only(keys)",{"type":173,"tag":3166,"props":5929,"children":5930},{},[5931],{"type":173,"tag":3170,"props":5932,"children":5933},{},[5934,5938],{"type":173,"tag":198,"props":5935,"children":5936},{"className":167},[5937],{"type":179,"value":468},{"type":173,"tag":3166,"props":5939,"children":5940},{},[5941,5954],{"type":173,"tag":3170,"props":5942,"children":5943},{},[5944,5945,5949,5950],{"type":179,"value":3678},{"type":173,"tag":198,"props":5946,"children":5947},{"className":167},[5948],{"type":179,"value":5699},{"type":179,"value":5175},{"type":173,"tag":198,"props":5951,"children":5952},{"className":167},[5953],{"type":179,"value":5705},{"type":173,"tag":3170,"props":5955,"children":5956},{},[5957],{"type":173,"tag":1105,"props":5958,"children":5959},{},[5960],{"type":179,"value":3691},{"type":173,"tag":182,"props":5962,"children":5963},{},[5964],{"type":179,"value":5965},"Select a subset of fields.",{"type":173,"tag":293,"props":5967,"children":5969},{"className":2213,"code":5968,"language":346,"meta":167,"style":167},"const articles = await queryContent('articles').only('id').find()\n\nconst articles = await queryContent('articles').only(['id', 'title']).find()\n",[5970],{"type":173,"tag":198,"props":5971,"children":5972},{"__ignoreMap":167},[5973,6058,6065],{"type":173,"tag":303,"props":5974,"children":5975},{"class":305,"line":306},[5976,5980,5984,5988,5992,5996,6000,6004,6008,6012,6016,6020,6025,6029,6033,6038,6042,6046,6050,6054],{"type":173,"tag":303,"props":5977,"children":5978},{"style":322},[5979],{"type":179,"value":559},{"type":173,"tag":303,"props":5981,"children":5982},{"style":378},[5983],{"type":179,"value":3778},{"type":173,"tag":303,"props":5985,"children":5986},{"style":310},[5987],{"type":179,"value":335},{"type":173,"tag":303,"props":5989,"children":5990},{"style":362},[5991],{"type":179,"value":583},{"type":173,"tag":303,"props":5993,"children":5994},{"style":586},[5995],{"type":179,"value":613},{"type":173,"tag":303,"props":5997,"children":5998},{"style":378},[5999],{"type":179,"value":632},{"type":173,"tag":303,"props":6001,"children":6002},{"style":310},[6003],{"type":179,"value":893},{"type":173,"tag":303,"props":6005,"children":6006},{"style":343},[6007],{"type":179,"value":939},{"type":173,"tag":303,"props":6009,"children":6010},{"style":310},[6011],{"type":179,"value":893},{"type":173,"tag":303,"props":6013,"children":6014},{"style":378},[6015],{"type":179,"value":948},{"type":173,"tag":303,"props":6017,"children":6018},{"style":310},[6019],{"type":179,"value":254},{"type":173,"tag":303,"props":6021,"children":6022},{"style":586},[6023],{"type":179,"value":6024},"only",{"type":173,"tag":303,"props":6026,"children":6027},{"style":378},[6028],{"type":179,"value":632},{"type":173,"tag":303,"props":6030,"children":6031},{"style":310},[6032],{"type":179,"value":893},{"type":173,"tag":303,"props":6034,"children":6035},{"style":343},[6036],{"type":179,"value":6037},"id",{"type":173,"tag":303,"props":6039,"children":6040},{"style":310},[6041],{"type":179,"value":893},{"type":173,"tag":303,"props":6043,"children":6044},{"style":378},[6045],{"type":179,"value":948},{"type":173,"tag":303,"props":6047,"children":6048},{"style":310},[6049],{"type":179,"value":254},{"type":173,"tag":303,"props":6051,"children":6052},{"style":586},[6053],{"type":179,"value":4122},{"type":173,"tag":303,"props":6055,"children":6056},{"style":378},[6057],{"type":179,"value":962},{"type":173,"tag":303,"props":6059,"children":6060},{"class":305,"line":358},[6061],{"type":173,"tag":303,"props":6062,"children":6063},{"emptyLinePlaceholder":413},[6064],{"type":179,"value":416},{"type":173,"tag":303,"props":6066,"children":6067},{"class":305,"line":409},[6068,6072,6076,6080,6084,6088,6092,6096,6100,6104,6108,6112,6116,6120,6124,6128,6132,6136,6140,6144,6148,6152,6156,6160],{"type":173,"tag":303,"props":6069,"children":6070},{"style":322},[6071],{"type":179,"value":559},{"type":173,"tag":303,"props":6073,"children":6074},{"style":378},[6075],{"type":179,"value":3778},{"type":173,"tag":303,"props":6077,"children":6078},{"style":310},[6079],{"type":179,"value":335},{"type":173,"tag":303,"props":6081,"children":6082},{"style":362},[6083],{"type":179,"value":583},{"type":173,"tag":303,"props":6085,"children":6086},{"style":586},[6087],{"type":179,"value":613},{"type":173,"tag":303,"props":6089,"children":6090},{"style":378},[6091],{"type":179,"value":632},{"type":173,"tag":303,"props":6093,"children":6094},{"style":310},[6095],{"type":179,"value":893},{"type":173,"tag":303,"props":6097,"children":6098},{"style":343},[6099],{"type":179,"value":939},{"type":173,"tag":303,"props":6101,"children":6102},{"style":310},[6103],{"type":179,"value":893},{"type":173,"tag":303,"props":6105,"children":6106},{"style":378},[6107],{"type":179,"value":948},{"type":173,"tag":303,"props":6109,"children":6110},{"style":310},[6111],{"type":179,"value":254},{"type":173,"tag":303,"props":6113,"children":6114},{"style":586},[6115],{"type":179,"value":6024},{"type":173,"tag":303,"props":6117,"children":6118},{"style":378},[6119],{"type":179,"value":5872},{"type":173,"tag":303,"props":6121,"children":6122},{"style":310},[6123],{"type":179,"value":893},{"type":173,"tag":303,"props":6125,"children":6126},{"style":343},[6127],{"type":179,"value":6037},{"type":173,"tag":303,"props":6129,"children":6130},{"style":310},[6131],{"type":179,"value":893},{"type":173,"tag":303,"props":6133,"children":6134},{"style":310},[6135],{"type":179,"value":2300},{"type":173,"tag":303,"props":6137,"children":6138},{"style":310},[6139],{"type":179,"value":396},{"type":173,"tag":303,"props":6141,"children":6142},{"style":343},[6143],{"type":179,"value":1160},{"type":173,"tag":303,"props":6145,"children":6146},{"style":310},[6147],{"type":179,"value":893},{"type":173,"tag":303,"props":6149,"children":6150},{"style":378},[6151],{"type":179,"value":5906},{"type":173,"tag":303,"props":6153,"children":6154},{"style":310},[6155],{"type":179,"value":254},{"type":173,"tag":303,"props":6157,"children":6158},{"style":586},[6159],{"type":179,"value":4122},{"type":173,"tag":303,"props":6161,"children":6162},{"style":378},[6163],{"type":179,"value":962},{"type":173,"tag":188,"props":6165,"children":6166},{"id":4122},[6167],{"type":173,"tag":198,"props":6168,"children":6169},{"className":167},[6170],{"type":179,"value":227},{"type":173,"tag":182,"props":6172,"children":6173},{},[6174],{"type":179,"value":6175},"Fetch and return the list of matched contents based on the query.",{"type":173,"tag":293,"props":6177,"children":6179},{"className":2213,"code":6178,"language":346,"meta":167,"style":167},"// List of articles\nconst articles = await queryContent('articles').find()\n",[6180],{"type":173,"tag":198,"props":6181,"children":6182},{"__ignoreMap":167},[6183,6191],{"type":173,"tag":303,"props":6184,"children":6185},{"class":305,"line":306},[6186],{"type":173,"tag":303,"props":6187,"children":6188},{"style":547},[6189],{"type":179,"value":6190},"// List of articles\n",{"type":173,"tag":303,"props":6192,"children":6193},{"class":305,"line":358},[6194,6198,6202,6206,6210,6214,6218,6222,6226,6230,6234,6238,6242],{"type":173,"tag":303,"props":6195,"children":6196},{"style":322},[6197],{"type":179,"value":559},{"type":173,"tag":303,"props":6199,"children":6200},{"style":378},[6201],{"type":179,"value":3778},{"type":173,"tag":303,"props":6203,"children":6204},{"style":310},[6205],{"type":179,"value":335},{"type":173,"tag":303,"props":6207,"children":6208},{"style":362},[6209],{"type":179,"value":583},{"type":173,"tag":303,"props":6211,"children":6212},{"style":586},[6213],{"type":179,"value":613},{"type":173,"tag":303,"props":6215,"children":6216},{"style":378},[6217],{"type":179,"value":632},{"type":173,"tag":303,"props":6219,"children":6220},{"style":310},[6221],{"type":179,"value":893},{"type":173,"tag":303,"props":6223,"children":6224},{"style":343},[6225],{"type":179,"value":939},{"type":173,"tag":303,"props":6227,"children":6228},{"style":310},[6229],{"type":179,"value":893},{"type":173,"tag":303,"props":6231,"children":6232},{"style":378},[6233],{"type":179,"value":948},{"type":173,"tag":303,"props":6235,"children":6236},{"style":310},[6237],{"type":179,"value":254},{"type":173,"tag":303,"props":6239,"children":6240},{"style":586},[6241],{"type":179,"value":4122},{"type":173,"tag":303,"props":6243,"children":6244},{"style":378},[6245],{"type":179,"value":962},{"type":173,"tag":188,"props":6247,"children":6249},{"id":6248},"findone",[6250],{"type":173,"tag":198,"props":6251,"children":6252},{"className":167},[6253],{"type":179,"value":234},{"type":173,"tag":182,"props":6255,"children":6256},{},[6257],{"type":179,"value":6258},"Fetch the first match of content.",{"type":173,"tag":293,"props":6260,"children":6262},{"className":2213,"code":6261,"language":346,"meta":167,"style":167},"const firstArticle = await queryContent('articles').findOne()\n",[6263],{"type":173,"tag":198,"props":6264,"children":6265},{"__ignoreMap":167},[6266],{"type":173,"tag":303,"props":6267,"children":6268},{"class":305,"line":306},[6269,6273,6278,6282,6286,6290,6294,6298,6302,6306,6310,6314,6318],{"type":173,"tag":303,"props":6270,"children":6271},{"style":322},[6272],{"type":179,"value":559},{"type":173,"tag":303,"props":6274,"children":6275},{"style":378},[6276],{"type":179,"value":6277}," firstArticle ",{"type":173,"tag":303,"props":6279,"children":6280},{"style":310},[6281],{"type":179,"value":335},{"type":173,"tag":303,"props":6283,"children":6284},{"style":362},[6285],{"type":179,"value":583},{"type":173,"tag":303,"props":6287,"children":6288},{"style":586},[6289],{"type":179,"value":613},{"type":173,"tag":303,"props":6291,"children":6292},{"style":378},[6293],{"type":179,"value":632},{"type":173,"tag":303,"props":6295,"children":6296},{"style":310},[6297],{"type":179,"value":893},{"type":173,"tag":303,"props":6299,"children":6300},{"style":343},[6301],{"type":179,"value":939},{"type":173,"tag":303,"props":6303,"children":6304},{"style":310},[6305],{"type":179,"value":893},{"type":173,"tag":303,"props":6307,"children":6308},{"style":378},[6309],{"type":179,"value":948},{"type":173,"tag":303,"props":6311,"children":6312},{"style":310},[6313],{"type":179,"value":254},{"type":173,"tag":303,"props":6315,"children":6316},{"style":586},[6317],{"type":179,"value":957},{"type":173,"tag":303,"props":6319,"children":6320},{"style":378},[6321],{"type":179,"value":962},{"type":173,"tag":188,"props":6323,"children":6325},{"id":6324},"findsurroundpath-options",[6326],{"type":173,"tag":198,"props":6327,"children":6328},{"className":167},[6329],{"type":179,"value":6330},"findSurround(path, options)",{"type":173,"tag":3166,"props":6332,"children":6333},{},[6334,6360],{"type":173,"tag":3170,"props":6335,"children":6336},{},[6337,6342],{"type":173,"tag":198,"props":6338,"children":6339},{"className":167},[6340],{"type":179,"value":6341},"path",{"type":173,"tag":3166,"props":6343,"children":6344},{},[6345,6353],{"type":173,"tag":3170,"props":6346,"children":6347},{},[6348,6349],{"type":179,"value":3678},{"type":173,"tag":198,"props":6350,"children":6351},{"className":167},[6352],{"type":179,"value":5705},{"type":173,"tag":3170,"props":6354,"children":6355},{},[6356],{"type":173,"tag":1105,"props":6357,"children":6358},{},[6359],{"type":179,"value":3691},{"type":173,"tag":3170,"props":6361,"children":6362},{},[6363,6367],{"type":173,"tag":198,"props":6364,"children":6365},{"className":167},[6366],{"type":179,"value":4599},{"type":173,"tag":3166,"props":6368,"children":6369},{},[6370,6379],{"type":173,"tag":3170,"props":6371,"children":6372},{},[6373,6374],{"type":179,"value":3678},{"type":173,"tag":198,"props":6375,"children":6376},{"className":167},[6377],{"type":179,"value":6378},"{ before: number, after: number }",{"type":173,"tag":3170,"props":6380,"children":6381},{},[6382,6384],{"type":179,"value":6383},"Default: ",{"type":173,"tag":198,"props":6385,"children":6386},{"className":167},[6387],{"type":179,"value":6388},"{ before: 1, after: 1 }",{"type":173,"tag":182,"props":6390,"children":6391},{},[6392],{"type":179,"value":6393},"Get the previous and next results around the path. The path should be the full path of the target content.",{"type":173,"tag":182,"props":6395,"children":6396},{},[6397],{"type":179,"value":6398},"You will always obtain an array of fixed length filled with the matching document or null.",{"type":173,"tag":293,"props":6400,"children":6402},{"className":2213,"code":6401,"language":346,"meta":167,"style":167},"const [prev, next] = await queryContent()\n  .only(['_path', 'title'])\n  .sort({ date: 1})\n  .where({ isArchived: false })\n  .findSurround('/articles/article-2')\n\n// Returns\n[\n  {\n    title: 'Article 1',\n    _path: '/articles/article-1'\n    //...\n  },\n  null // no article-3 here\n]\n",[6403],{"type":173,"tag":198,"props":6404,"children":6405},{"__ignoreMap":167},[6406,6452,6500,6540,6581,6614,6621,6629,6636,6643,6672,6696,6704,6712,6725],{"type":173,"tag":303,"props":6407,"children":6408},{"class":305,"line":306},[6409,6413,6417,6422,6426,6431,6436,6440,6444,6448],{"type":173,"tag":303,"props":6410,"children":6411},{"style":322},[6412],{"type":179,"value":559},{"type":173,"tag":303,"props":6414,"children":6415},{"style":310},[6416],{"type":179,"value":2282},{"type":173,"tag":303,"props":6418,"children":6419},{"style":378},[6420],{"type":179,"value":6421},"prev",{"type":173,"tag":303,"props":6423,"children":6424},{"style":310},[6425],{"type":179,"value":2300},{"type":173,"tag":303,"props":6427,"children":6428},{"style":378},[6429],{"type":179,"value":6430}," next",{"type":173,"tag":303,"props":6432,"children":6433},{"style":310},[6434],{"type":179,"value":6435},"]",{"type":173,"tag":303,"props":6437,"children":6438},{"style":310},[6439],{"type":179,"value":578},{"type":173,"tag":303,"props":6441,"children":6442},{"style":362},[6443],{"type":179,"value":583},{"type":173,"tag":303,"props":6445,"children":6446},{"style":586},[6447],{"type":179,"value":613},{"type":173,"tag":303,"props":6449,"children":6450},{"style":378},[6451],{"type":179,"value":962},{"type":173,"tag":303,"props":6453,"children":6454},{"class":305,"line":358},[6455,6459,6463,6467,6471,6475,6479,6483,6487,6491,6495],{"type":173,"tag":303,"props":6456,"children":6457},{"style":310},[6458],{"type":179,"value":4689},{"type":173,"tag":303,"props":6460,"children":6461},{"style":586},[6462],{"type":179,"value":6024},{"type":173,"tag":303,"props":6464,"children":6465},{"style":378},[6466],{"type":179,"value":5872},{"type":173,"tag":303,"props":6468,"children":6469},{"style":310},[6470],{"type":179,"value":893},{"type":173,"tag":303,"props":6472,"children":6473},{"style":343},[6474],{"type":179,"value":1080},{"type":173,"tag":303,"props":6476,"children":6477},{"style":310},[6478],{"type":179,"value":893},{"type":173,"tag":303,"props":6480,"children":6481},{"style":310},[6482],{"type":179,"value":2300},{"type":173,"tag":303,"props":6484,"children":6485},{"style":310},[6486],{"type":179,"value":396},{"type":173,"tag":303,"props":6488,"children":6489},{"style":343},[6490],{"type":179,"value":1160},{"type":173,"tag":303,"props":6492,"children":6493},{"style":310},[6494],{"type":179,"value":893},{"type":173,"tag":303,"props":6496,"children":6497},{"style":378},[6498],{"type":179,"value":6499},"])\n",{"type":173,"tag":303,"props":6501,"children":6502},{"class":305,"line":409},[6503,6507,6511,6515,6519,6524,6528,6532,6536],{"type":173,"tag":303,"props":6504,"children":6505},{"style":310},[6506],{"type":179,"value":4689},{"type":173,"tag":303,"props":6508,"children":6509},{"style":586},[6510],{"type":179,"value":4694},{"type":173,"tag":303,"props":6512,"children":6513},{"style":378},[6514],{"type":179,"value":632},{"type":173,"tag":303,"props":6516,"children":6517},{"style":310},[6518],{"type":179,"value":637},{"type":173,"tag":303,"props":6520,"children":6521},{"style":316},[6522],{"type":179,"value":6523}," date",{"type":173,"tag":303,"props":6525,"children":6526},{"style":310},[6527],{"type":179,"value":459},{"type":173,"tag":303,"props":6529,"children":6530},{"style":4098},[6531],{"type":179,"value":4715},{"type":173,"tag":303,"props":6533,"children":6534},{"style":310},[6535],{"type":179,"value":573},{"type":173,"tag":303,"props":6537,"children":6538},{"style":378},[6539],{"type":179,"value":656},{"type":173,"tag":303,"props":6541,"children":6542},{"class":305,"line":419},[6543,6547,6551,6555,6559,6564,6568,6573,6577],{"type":173,"tag":303,"props":6544,"children":6545},{"style":310},[6546],{"type":179,"value":4689},{"type":173,"tag":303,"props":6548,"children":6549},{"style":586},[6550],{"type":179,"value":3819},{"type":173,"tag":303,"props":6552,"children":6553},{"style":378},[6554],{"type":179,"value":632},{"type":173,"tag":303,"props":6556,"children":6557},{"style":310},[6558],{"type":179,"value":637},{"type":173,"tag":303,"props":6560,"children":6561},{"style":316},[6562],{"type":179,"value":6563}," isArchived",{"type":173,"tag":303,"props":6565,"children":6566},{"style":310},[6567],{"type":179,"value":459},{"type":173,"tag":303,"props":6569,"children":6570},{"style":2682},[6571],{"type":179,"value":6572}," false",{"type":173,"tag":303,"props":6574,"children":6575},{"style":310},[6576],{"type":179,"value":386},{"type":173,"tag":303,"props":6578,"children":6579},{"style":378},[6580],{"type":179,"value":656},{"type":173,"tag":303,"props":6582,"children":6583},{"class":305,"line":448},[6584,6588,6593,6597,6601,6606,6610],{"type":173,"tag":303,"props":6585,"children":6586},{"style":310},[6587],{"type":179,"value":4689},{"type":173,"tag":303,"props":6589,"children":6590},{"style":586},[6591],{"type":179,"value":6592},"findSurround",{"type":173,"tag":303,"props":6594,"children":6595},{"style":378},[6596],{"type":179,"value":632},{"type":173,"tag":303,"props":6598,"children":6599},{"style":310},[6600],{"type":179,"value":893},{"type":173,"tag":303,"props":6602,"children":6603},{"style":343},[6604],{"type":179,"value":6605},"/articles/article-2",{"type":173,"tag":303,"props":6607,"children":6608},{"style":310},[6609],{"type":179,"value":893},{"type":173,"tag":303,"props":6611,"children":6612},{"style":378},[6613],{"type":179,"value":656},{"type":173,"tag":303,"props":6615,"children":6616},{"class":305,"line":475},[6617],{"type":173,"tag":303,"props":6618,"children":6619},{"emptyLinePlaceholder":413},[6620],{"type":179,"value":416},{"type":173,"tag":303,"props":6622,"children":6623},{"class":305,"line":501},[6624],{"type":173,"tag":303,"props":6625,"children":6626},{"style":547},[6627],{"type":179,"value":6628},"// Returns\n",{"type":173,"tag":303,"props":6630,"children":6631},{"class":305,"line":526},[6632],{"type":173,"tag":303,"props":6633,"children":6634},{"style":378},[6635],{"type":179,"value":1413},{"type":173,"tag":303,"props":6637,"children":6638},{"class":305,"line":535},[6639],{"type":173,"tag":303,"props":6640,"children":6641},{"style":310},[6642],{"type":179,"value":1421},{"type":173,"tag":303,"props":6644,"children":6645},{"class":305,"line":543},[6646,6651,6655,6659,6664,6668],{"type":173,"tag":303,"props":6647,"children":6648},{"style":316},[6649],{"type":179,"value":6650},"    title",{"type":173,"tag":303,"props":6652,"children":6653},{"style":310},[6654],{"type":179,"value":459},{"type":173,"tag":303,"props":6656,"children":6657},{"style":310},[6658],{"type":179,"value":396},{"type":173,"tag":303,"props":6660,"children":6661},{"style":343},[6662],{"type":179,"value":6663},"Article 1",{"type":173,"tag":303,"props":6665,"children":6666},{"style":310},[6667],{"type":179,"value":893},{"type":173,"tag":303,"props":6669,"children":6670},{"style":310},[6671],{"type":179,"value":898},{"type":173,"tag":303,"props":6673,"children":6674},{"class":305,"line":553},[6675,6679,6683,6687,6692],{"type":173,"tag":303,"props":6676,"children":6677},{"style":316},[6678],{"type":179,"value":3091},{"type":173,"tag":303,"props":6680,"children":6681},{"style":310},[6682],{"type":179,"value":459},{"type":173,"tag":303,"props":6684,"children":6685},{"style":310},[6686],{"type":179,"value":396},{"type":173,"tag":303,"props":6688,"children":6689},{"style":343},[6690],{"type":179,"value":6691},"/articles/article-1",{"type":173,"tag":303,"props":6693,"children":6694},{"style":310},[6695],{"type":179,"value":406},{"type":173,"tag":303,"props":6697,"children":6698},{"class":305,"line":597},[6699],{"type":173,"tag":303,"props":6700,"children":6701},{"style":547},[6702],{"type":179,"value":6703},"    //...\n",{"type":173,"tag":303,"props":6705,"children":6706},{"class":305,"line":659},[6707],{"type":173,"tag":303,"props":6708,"children":6709},{"style":310},[6710],{"type":179,"value":6711},"  },\n",{"type":173,"tag":303,"props":6713,"children":6714},{"class":305,"line":667},[6715,6720],{"type":173,"tag":303,"props":6716,"children":6717},{"style":310},[6718],{"type":179,"value":6719},"  null",{"type":173,"tag":303,"props":6721,"children":6722},{"style":547},[6723],{"type":179,"value":6724}," // no article-3 here\n",{"type":173,"tag":303,"props":6726,"children":6727},{"class":305,"line":5024},[6728],{"type":173,"tag":303,"props":6729,"children":6730},{"style":378},[6731],{"type":179,"value":1657},{"type":173,"tag":188,"props":6733,"children":6734},{"id":5389},[6735],{"type":173,"tag":198,"props":6736,"children":6737},{"className":167},[6738],{"type":179,"value":6739},"count()",{"type":173,"tag":182,"props":6741,"children":6742},{},[6743],{"type":179,"value":6744},"Count the number of matched contents based on the query.",{"type":173,"tag":293,"props":6746,"children":6748},{"className":2213,"code":6747,"language":346,"meta":167,"style":167},"// Count of articles\nconst count = await queryContent('articles').count()\n\n// Returns\n5 // number of articles\n",[6749],{"type":173,"tag":198,"props":6750,"children":6751},{"__ignoreMap":167},[6752,6760,6816,6823,6830],{"type":173,"tag":303,"props":6753,"children":6754},{"class":305,"line":306},[6755],{"type":173,"tag":303,"props":6756,"children":6757},{"style":547},[6758],{"type":179,"value":6759},"// Count of articles\n",{"type":173,"tag":303,"props":6761,"children":6762},{"class":305,"line":358},[6763,6767,6772,6776,6780,6784,6788,6792,6796,6800,6804,6808,6812],{"type":173,"tag":303,"props":6764,"children":6765},{"style":322},[6766],{"type":179,"value":559},{"type":173,"tag":303,"props":6768,"children":6769},{"style":378},[6770],{"type":179,"value":6771}," count ",{"type":173,"tag":303,"props":6773,"children":6774},{"style":310},[6775],{"type":179,"value":335},{"type":173,"tag":303,"props":6777,"children":6778},{"style":362},[6779],{"type":179,"value":583},{"type":173,"tag":303,"props":6781,"children":6782},{"style":586},[6783],{"type":179,"value":613},{"type":173,"tag":303,"props":6785,"children":6786},{"style":378},[6787],{"type":179,"value":632},{"type":173,"tag":303,"props":6789,"children":6790},{"style":310},[6791],{"type":179,"value":893},{"type":173,"tag":303,"props":6793,"children":6794},{"style":343},[6795],{"type":179,"value":939},{"type":173,"tag":303,"props":6797,"children":6798},{"style":310},[6799],{"type":179,"value":893},{"type":173,"tag":303,"props":6801,"children":6802},{"style":378},[6803],{"type":179,"value":948},{"type":173,"tag":303,"props":6805,"children":6806},{"style":310},[6807],{"type":179,"value":254},{"type":173,"tag":303,"props":6809,"children":6810},{"style":586},[6811],{"type":179,"value":5389},{"type":173,"tag":303,"props":6813,"children":6814},{"style":378},[6815],{"type":179,"value":962},{"type":173,"tag":303,"props":6817,"children":6818},{"class":305,"line":409},[6819],{"type":173,"tag":303,"props":6820,"children":6821},{"emptyLinePlaceholder":413},[6822],{"type":179,"value":416},{"type":173,"tag":303,"props":6824,"children":6825},{"class":305,"line":419},[6826],{"type":173,"tag":303,"props":6827,"children":6828},{"style":547},[6829],{"type":179,"value":6628},{"type":173,"tag":303,"props":6831,"children":6832},{"class":305,"line":448},[6833,6837],{"type":173,"tag":303,"props":6834,"children":6835},{"style":4098},[6836],{"type":179,"value":5489},{"type":173,"tag":303,"props":6838,"children":6839},{"style":547},[6840],{"type":179,"value":6841}," // number of articles\n",{"type":173,"tag":182,"props":6843,"children":6844},{},[6845,6847,6851,6853,6858],{"type":179,"value":6846},"You can also use ",{"type":173,"tag":198,"props":6848,"children":6849},{"className":167},[6850],{"type":179,"value":6739},{"type":179,"value":6852}," with ",{"type":173,"tag":198,"props":6854,"children":6855},{"className":167},[6856],{"type":179,"value":6857},"where()",{"type":179,"value":6859}," method.",{"type":173,"tag":293,"props":6861,"children":6863},{"className":2213,"code":6862,"language":346,"meta":167,"style":167},"// Count of articles\nconst count = await queryContent('articles')\n  .where({ isArchived: false })\n  .count()\n\n// Returns\n5 // number of articles\n",[6864],{"type":173,"tag":198,"props":6865,"children":6866},{"__ignoreMap":167},[6867,6874,6917,6956,6971,6978,6985],{"type":173,"tag":303,"props":6868,"children":6869},{"class":305,"line":306},[6870],{"type":173,"tag":303,"props":6871,"children":6872},{"style":547},[6873],{"type":179,"value":6759},{"type":173,"tag":303,"props":6875,"children":6876},{"class":305,"line":358},[6877,6881,6885,6889,6893,6897,6901,6905,6909,6913],{"type":173,"tag":303,"props":6878,"children":6879},{"style":322},[6880],{"type":179,"value":559},{"type":173,"tag":303,"props":6882,"children":6883},{"style":378},[6884],{"type":179,"value":6771},{"type":173,"tag":303,"props":6886,"children":6887},{"style":310},[6888],{"type":179,"value":335},{"type":173,"tag":303,"props":6890,"children":6891},{"style":362},[6892],{"type":179,"value":583},{"type":173,"tag":303,"props":6894,"children":6895},{"style":586},[6896],{"type":179,"value":613},{"type":173,"tag":303,"props":6898,"children":6899},{"style":378},[6900],{"type":179,"value":632},{"type":173,"tag":303,"props":6902,"children":6903},{"style":310},[6904],{"type":179,"value":893},{"type":173,"tag":303,"props":6906,"children":6907},{"style":343},[6908],{"type":179,"value":939},{"type":173,"tag":303,"props":6910,"children":6911},{"style":310},[6912],{"type":179,"value":893},{"type":173,"tag":303,"props":6914,"children":6915},{"style":378},[6916],{"type":179,"value":656},{"type":173,"tag":303,"props":6918,"children":6919},{"class":305,"line":409},[6920,6924,6928,6932,6936,6940,6944,6948,6952],{"type":173,"tag":303,"props":6921,"children":6922},{"style":310},[6923],{"type":179,"value":4689},{"type":173,"tag":303,"props":6925,"children":6926},{"style":586},[6927],{"type":179,"value":3819},{"type":173,"tag":303,"props":6929,"children":6930},{"style":378},[6931],{"type":179,"value":632},{"type":173,"tag":303,"props":6933,"children":6934},{"style":310},[6935],{"type":179,"value":637},{"type":173,"tag":303,"props":6937,"children":6938},{"style":316},[6939],{"type":179,"value":6563},{"type":173,"tag":303,"props":6941,"children":6942},{"style":310},[6943],{"type":179,"value":459},{"type":173,"tag":303,"props":6945,"children":6946},{"style":2682},[6947],{"type":179,"value":6572},{"type":173,"tag":303,"props":6949,"children":6950},{"style":310},[6951],{"type":179,"value":386},{"type":173,"tag":303,"props":6953,"children":6954},{"style":378},[6955],{"type":179,"value":656},{"type":173,"tag":303,"props":6957,"children":6958},{"class":305,"line":419},[6959,6963,6967],{"type":173,"tag":303,"props":6960,"children":6961},{"style":310},[6962],{"type":179,"value":4689},{"type":173,"tag":303,"props":6964,"children":6965},{"style":586},[6966],{"type":179,"value":5389},{"type":173,"tag":303,"props":6968,"children":6969},{"style":378},[6970],{"type":179,"value":962},{"type":173,"tag":303,"props":6972,"children":6973},{"class":305,"line":448},[6974],{"type":173,"tag":303,"props":6975,"children":6976},{"emptyLinePlaceholder":413},[6977],{"type":179,"value":416},{"type":173,"tag":303,"props":6979,"children":6980},{"class":305,"line":475},[6981],{"type":173,"tag":303,"props":6982,"children":6983},{"style":547},[6984],{"type":179,"value":6628},{"type":173,"tag":303,"props":6986,"children":6987},{"class":305,"line":501},[6988,6992],{"type":173,"tag":303,"props":6989,"children":6990},{"style":4098},[6991],{"type":179,"value":5489},{"type":173,"tag":303,"props":6993,"children":6994},{"style":547},[6995],{"type":179,"value":6841},{"type":173,"tag":1025,"props":6997,"children":6998},{},[6999],{"type":179,"value":1029},{"title":167,"searchDepth":358,"depth":358,"links":7001},[7002,7003,7004,7005,7006,7007,7008,7009,7010,7011,7012,7013],{"id":3223,"depth":358,"text":3226},{"id":3466,"depth":358,"text":3469},{"id":3652,"depth":358,"text":3658},{"id":4582,"depth":358,"text":4588},{"id":5372,"depth":358,"text":5378},{"id":5508,"depth":358,"text":5514},{"id":5671,"depth":358,"text":5677},{"id":5921,"depth":358,"text":5927},{"id":4122,"depth":358,"text":227},{"id":6248,"depth":358,"text":234},{"id":6324,"depth":358,"text":6330},{"id":5389,"depth":358,"text":6739},"content:3.composables:1.query-content.md","3.composables/1.query-content.md",1699441209268]