[{"data":1,"prerenderedAt":4886},["Reactive",2],{"navigation":3,"docs-/_partials/hello-world":158,"docs-/_partials/hello-world-surround":199},[4,20,42,61,86,96,109],{"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],{"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},"Fetch Navigation","/usage/navigation",{"title":40,"_path":41},"TypeScript Support","/usage/typescript",{"title":43,"_path":44,"children":45},"Composables","/composables",[46,49,52,55,58],{"title":47,"_path":48},"queryContent()","/composables/query-content",{"title":50,"_path":51},"fetchContentNavigation()","/composables/fetch-content-navigation",{"title":53,"_path":54},"useContentHead()","/composables/use-content-head",{"title":56,"_path":57},"useContentHelpers()","/composables/use-content-helpers",{"title":59,"_path":60},"useUnwrap()","/composables/use-unwrap",{"title":62,"_path":63,"children":64},"Components","/components",[65,68,71,74,77,80,83],{"title":66,"_path":67},"\u003CContentDoc>","/components/content-doc",{"title":69,"_path":70},"\u003CContentRenderer>","/components/content-renderer",{"title":72,"_path":73},"\u003CContentList>","/components/content-list",{"title":75,"_path":76},"\u003CContentNavigation>","/components/content-navigation",{"title":78,"_path":79},"\u003CContentQuery>","/components/content-query",{"title":81,"_path":82},"\u003CContentSlot>","/components/content-slot",{"title":84,"_path":85},"Prose Components","/components/prose",{"title":87,"_path":88,"children":89},"Document Driven","/document-driven",[90,93],{"title":91,"_path":92},"Introduction","/document-driven/introduction",{"title":94,"_path":95},"useContent()","/document-driven/use-content",{"title":97,"_path":98,"children":99},"Recipes","/recipes",[100,103,106],{"title":101,"_path":102},"Hooks","/recipes/hooks",{"title":104,"_path":105},"Transformers","/recipes/transformers",{"title":107,"_path":108},"Sitemap","/recipes/sitemap",{"title":110,"_path":111,"children":112},"V1","/v1",[113,135,148],{"title":114,"_path":115,"children":116},"Getting Started","/v1/getting-started",[117,119,121,124,127,130,132],{"title":91,"_path":118},"/v1/getting-started/introduction",{"title":9,"_path":120},"/v1/getting-started/installation",{"title":122,"_path":123},"Writing content","/v1/getting-started/writing",{"title":125,"_path":126},"Fetching content","/v1/getting-started/fetching",{"title":128,"_path":129},"Displaying content","/v1/getting-started/displaying",{"title":12,"_path":131},"/v1/getting-started/configuration",{"title":133,"_path":134},"Advanced","/v1/getting-started/advanced",{"title":136,"_path":137,"children":138},"Examples","/v1/examples",[139,142,145],{"title":140,"_path":141},"Basic Usage","/v1/examples/basic",{"title":143,"_path":144},"TailwindCSS","/v1/examples/tailwindcss-typography",{"title":146,"_path":147},"Docs Theme","/v1/examples/docs-theme",{"title":149,"_path":150,"children":151},"Community","/v1/community",[152,155],{"title":153,"_path":154},"Snippets","/v1/community/snippets",{"title":156,"_path":157},"Integrations","/v1/community/integrations",{"_path":159,"_dir":160,"_draft":161,"_partial":162,"_locale":163,"title":164,"description":165,"body":166,"_type":194,"_id":195,"_source":196,"_file":197,"_extension":198},"/_partials/hello-world","_partials",false,true,"","I am a partial","With some Hello World text.",{"type":167,"children":168,"toc":191},"root",[169,177,182],{"type":170,"tag":171,"props":172,"children":174},"element","h1",{"id":173},"i-am-a-partial",[175],{"type":176,"value":164},"text",{"type":170,"tag":178,"props":179,"children":180},"p",{},[181],{"type":176,"value":165},{"type":170,"tag":183,"props":184,"children":188},"button-link",{":blank":185,"class":186,"href":187},"true","mr-2","https://stackblitz.com/github/nuxt/starter/tree/content",[189],{"type":176,"value":190},"Play on StackBlitz",{"title":163,"searchDepth":192,"depth":192,"links":193},2,[],"markdown","content:_partials:hello-world.md","content","_partials/hello-world.md","md",[200,201],null,{"_path":48,"_dir":202,"_draft":161,"_partial":161,"_locale":163,"title":47,"description":203,"body":204,"_type":194,"_id":4884,"_source":196,"_file":4885,"_extension":198},"composables","The queryContent composable provides methods for querying and fetching your contents.",{"type":167,"children":205,"toc":4870},[206,213,235,546,552,563,568,776,785,822,827,884,1562,1567,1932,1941,1971,1976,2667,2747,2752,2918,2931,2940,2970,2975,3083,3092,3120,3125,3274,3283,3319,3324,3560,3569,3602,3607,3840,3848,3853,3939,3948,3953,4032,4041,4099,4104,4109,4543,4551,4556,4671,4689,4864],{"type":170,"tag":207,"props":208,"children":210},"h2",{"id":209},"important-️",[211],{"type":176,"value":212},"Important ⚠️",{"type":170,"tag":178,"props":214,"children":215},{},[216,218,233],{"type":176,"value":217},"In your pages and components, wrap your query in ",{"type":170,"tag":219,"props":220,"children":224},"a",{"href":221,"rel":222},"https://nuxt.com/docs/api/composables/use-async-data",[223],"nofollow",[225,231],{"type":170,"tag":226,"props":227,"children":228},"code",{},[229],{"type":176,"value":230},"useAsyncData",{"type":176,"value":232}," composable",{"type":176,"value":234}," to prevent fetching duplication on first load.",{"type":170,"tag":236,"props":237,"children":242},"pre",{"className":238,"code":239,"filename":240,"language":241,"meta":163},"language-vue solarized-light_dark-plus_material-theme-lighter","\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","vue",[243],{"type":170,"tag":226,"props":244,"children":245},{"__ignoreMap":163},[246,281,438,455,462,479,500,509,529],{"type":170,"tag":247,"props":248,"children":251},"span",{"class":249,"line":250},"line",1,[252,258,264,270,276],{"type":170,"tag":247,"props":253,"children":255},{"class":254},"ct-578153",[256],{"type":176,"value":257},"\u003C",{"type":170,"tag":247,"props":259,"children":261},{"class":260},"ct-952042",[262],{"type":176,"value":263},"script",{"type":170,"tag":247,"props":265,"children":267},{"class":266},"ct-916772",[268],{"type":176,"value":269}," ",{"type":170,"tag":247,"props":271,"children":273},{"class":272},"ct-303788",[274],{"type":176,"value":275},"setup",{"type":170,"tag":247,"props":277,"children":278},{"class":254},[279],{"type":176,"value":280},">\n",{"type":170,"tag":247,"props":282,"children":283},{"class":249,"line":192},[284,290,294,300,304,310,314,319,323,329,333,339,343,348,353,359,365,369,374,378,383,387,392,396,401,405,409,414,418,423,428,433],{"type":170,"tag":247,"props":285,"children":287},{"class":286},"ct-696419",[288],{"type":176,"value":289},"const",{"type":170,"tag":247,"props":291,"children":292},{"class":266},[293],{"type":176,"value":269},{"type":170,"tag":247,"props":295,"children":297},{"class":296},"ct-001462",[298],{"type":176,"value":299},"{",{"type":170,"tag":247,"props":301,"children":302},{"class":266},[303],{"type":176,"value":269},{"type":170,"tag":247,"props":305,"children":307},{"class":306},"ct-263069",[308],{"type":176,"value":309},"data",{"type":170,"tag":247,"props":311,"children":312},{"class":266},[313],{"type":176,"value":269},{"type":170,"tag":247,"props":315,"children":316},{"class":296},[317],{"type":176,"value":318},"}",{"type":170,"tag":247,"props":320,"children":321},{"class":266},[322],{"type":176,"value":269},{"type":170,"tag":247,"props":324,"children":326},{"class":325},"ct-773118",[327],{"type":176,"value":328},"=",{"type":170,"tag":247,"props":330,"children":331},{"class":266},[332],{"type":176,"value":269},{"type":170,"tag":247,"props":334,"children":336},{"class":335},"ct-702290",[337],{"type":176,"value":338},"await",{"type":170,"tag":247,"props":340,"children":341},{"class":266},[342],{"type":176,"value":269},{"type":170,"tag":247,"props":344,"children":346},{"class":345},"ct-187170",[347],{"type":176,"value":230},{"type":170,"tag":247,"props":349,"children":350},{"class":266},[351],{"type":176,"value":352},"(",{"type":170,"tag":247,"props":354,"children":356},{"class":355},"ct-659886",[357],{"type":176,"value":358},"'",{"type":170,"tag":247,"props":360,"children":362},{"class":361},"ct-084644",[363],{"type":176,"value":364},"home",{"type":170,"tag":247,"props":366,"children":367},{"class":355},[368],{"type":176,"value":358},{"type":170,"tag":247,"props":370,"children":371},{"class":296},[372],{"type":176,"value":373},",",{"type":170,"tag":247,"props":375,"children":376},{"class":266},[377],{"type":176,"value":269},{"type":170,"tag":247,"props":379,"children":380},{"class":296},[381],{"type":176,"value":382},"()",{"type":170,"tag":247,"props":384,"children":385},{"class":266},[386],{"type":176,"value":269},{"type":170,"tag":247,"props":388,"children":389},{"class":286},[390],{"type":176,"value":391},"=>",{"type":170,"tag":247,"props":393,"children":394},{"class":266},[395],{"type":176,"value":269},{"type":170,"tag":247,"props":397,"children":398},{"class":345},[399],{"type":176,"value":400},"queryContent",{"type":170,"tag":247,"props":402,"children":403},{"class":266},[404],{"type":176,"value":352},{"type":170,"tag":247,"props":406,"children":407},{"class":355},[408],{"type":176,"value":358},{"type":170,"tag":247,"props":410,"children":411},{"class":361},[412],{"type":176,"value":413},"/",{"type":170,"tag":247,"props":415,"children":416},{"class":355},[417],{"type":176,"value":358},{"type":170,"tag":247,"props":419,"children":420},{"class":266},[421],{"type":176,"value":422},")",{"type":170,"tag":247,"props":424,"children":425},{"class":296},[426],{"type":176,"value":427},".",{"type":170,"tag":247,"props":429,"children":430},{"class":345},[431],{"type":176,"value":432},"findOne",{"type":170,"tag":247,"props":434,"children":435},{"class":266},[436],{"type":176,"value":437},"())\n",{"type":170,"tag":247,"props":439,"children":441},{"class":249,"line":440},3,[442,447,451],{"type":170,"tag":247,"props":443,"children":444},{"class":254},[445],{"type":176,"value":446},"\u003C/",{"type":170,"tag":247,"props":448,"children":449},{"class":260},[450],{"type":176,"value":263},{"type":170,"tag":247,"props":452,"children":453},{"class":254},[454],{"type":176,"value":280},{"type":170,"tag":247,"props":456,"children":458},{"class":249,"line":457},4,[459],{"type":170,"tag":247,"props":460,"children":461},{},[],{"type":170,"tag":247,"props":463,"children":465},{"class":249,"line":464},5,[466,470,475],{"type":170,"tag":247,"props":467,"children":468},{"class":254},[469],{"type":176,"value":257},{"type":170,"tag":247,"props":471,"children":472},{"class":260},[473],{"type":176,"value":474},"template",{"type":170,"tag":247,"props":476,"children":477},{"class":254},[478],{"type":176,"value":280},{"type":170,"tag":247,"props":480,"children":482},{"class":249,"line":481},6,[483,488,492,496],{"type":170,"tag":247,"props":484,"children":485},{"class":266},[486],{"type":176,"value":487},"  ",{"type":170,"tag":247,"props":489,"children":490},{"class":254},[491],{"type":176,"value":257},{"type":170,"tag":247,"props":493,"children":494},{"class":260},[495],{"type":176,"value":236},{"type":170,"tag":247,"props":497,"children":498},{"class":254},[499],{"type":176,"value":280},{"type":170,"tag":247,"props":501,"children":503},{"class":249,"line":502},7,[504],{"type":170,"tag":247,"props":505,"children":506},{"class":266},[507],{"type":176,"value":508},"    {{ data }}\n",{"type":170,"tag":247,"props":510,"children":512},{"class":249,"line":511},8,[513,517,521,525],{"type":170,"tag":247,"props":514,"children":515},{"class":266},[516],{"type":176,"value":487},{"type":170,"tag":247,"props":518,"children":519},{"class":254},[520],{"type":176,"value":446},{"type":170,"tag":247,"props":522,"children":523},{"class":260},[524],{"type":176,"value":236},{"type":170,"tag":247,"props":526,"children":527},{"class":254},[528],{"type":176,"value":280},{"type":170,"tag":247,"props":530,"children":532},{"class":249,"line":531},9,[533,537,541],{"type":170,"tag":247,"props":534,"children":535},{"class":254},[536],{"type":176,"value":446},{"type":170,"tag":247,"props":538,"children":539},{"class":260},[540],{"type":176,"value":474},{"type":170,"tag":247,"props":542,"children":543},{"class":254},[544],{"type":176,"value":545},">",{"type":170,"tag":207,"props":547,"children":549},{"id":548},"query-builder",[550],{"type":176,"value":551},"Query builder",{"type":170,"tag":178,"props":553,"children":554},{},[555,557,561],{"type":176,"value":556},"The ",{"type":170,"tag":226,"props":558,"children":559},{},[560],{"type":176,"value":47},{"type":176,"value":562}," composable provides methods for querying and fetching your contents.",{"type":170,"tag":178,"props":564,"children":565},{},[566],{"type":176,"value":567},"Create a query builder to search contents.",{"type":170,"tag":236,"props":569,"children":573},{"className":570,"code":571,"language":572,"meta":163},"language-ts solarized-light_dark-plus_material-theme-lighter","// 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","ts",[574],{"type":170,"tag":226,"props":575,"children":576},{"__ignoreMap":163},[577,586,623,629,637,690,696,704],{"type":170,"tag":247,"props":578,"children":579},{"class":249,"line":250},[580],{"type":170,"tag":247,"props":581,"children":583},{"class":582},"ct-798230",[584],{"type":176,"value":585},"// Create a query looking for anything in content/ directory\n",{"type":170,"tag":247,"props":587,"children":588},{"class":249,"line":192},[589,593,597,602,606,610,614,618],{"type":170,"tag":247,"props":590,"children":591},{"class":286},[592],{"type":176,"value":289},{"type":170,"tag":247,"props":594,"children":595},{"class":266},[596],{"type":176,"value":269},{"type":170,"tag":247,"props":598,"children":599},{"class":306},[600],{"type":176,"value":601},"contentQuery",{"type":170,"tag":247,"props":603,"children":604},{"class":266},[605],{"type":176,"value":269},{"type":170,"tag":247,"props":607,"children":608},{"class":325},[609],{"type":176,"value":328},{"type":170,"tag":247,"props":611,"children":612},{"class":266},[613],{"type":176,"value":269},{"type":170,"tag":247,"props":615,"children":616},{"class":345},[617],{"type":176,"value":400},{"type":170,"tag":247,"props":619,"children":620},{"class":266},[621],{"type":176,"value":622},"()\n",{"type":170,"tag":247,"props":624,"children":625},{"class":249,"line":440},[626],{"type":170,"tag":247,"props":627,"children":628},{},[],{"type":170,"tag":247,"props":630,"children":631},{"class":249,"line":457},[632],{"type":170,"tag":247,"props":633,"children":634},{"class":582},[635],{"type":176,"value":636},"// Create a query looking into content/articles directory\n",{"type":170,"tag":247,"props":638,"children":639},{"class":249,"line":464},[640,644,648,652,656,660,664,668,672,676,681,685],{"type":170,"tag":247,"props":641,"children":642},{"class":286},[643],{"type":176,"value":289},{"type":170,"tag":247,"props":645,"children":646},{"class":266},[647],{"type":176,"value":269},{"type":170,"tag":247,"props":649,"children":650},{"class":306},[651],{"type":176,"value":601},{"type":170,"tag":247,"props":653,"children":654},{"class":266},[655],{"type":176,"value":269},{"type":170,"tag":247,"props":657,"children":658},{"class":325},[659],{"type":176,"value":328},{"type":170,"tag":247,"props":661,"children":662},{"class":266},[663],{"type":176,"value":269},{"type":170,"tag":247,"props":665,"children":666},{"class":345},[667],{"type":176,"value":400},{"type":170,"tag":247,"props":669,"children":670},{"class":266},[671],{"type":176,"value":352},{"type":170,"tag":247,"props":673,"children":674},{"class":355},[675],{"type":176,"value":358},{"type":170,"tag":247,"props":677,"children":678},{"class":361},[679],{"type":176,"value":680},"articles",{"type":170,"tag":247,"props":682,"children":683},{"class":355},[684],{"type":176,"value":358},{"type":170,"tag":247,"props":686,"children":687},{"class":266},[688],{"type":176,"value":689},")\n",{"type":170,"tag":247,"props":691,"children":692},{"class":249,"line":481},[693],{"type":170,"tag":247,"props":694,"children":695},{},[],{"type":170,"tag":247,"props":697,"children":698},{"class":249,"line":502},[699],{"type":170,"tag":247,"props":700,"children":701},{"class":582},[702],{"type":176,"value":703},"// Create a query looking into content/articles/nuxt3 directory\n",{"type":170,"tag":247,"props":705,"children":706},{"class":249,"line":511},[707,711,715,719,723,727,731,735,739,743,747,751,755,759,763,768,772],{"type":170,"tag":247,"props":708,"children":709},{"class":286},[710],{"type":176,"value":289},{"type":170,"tag":247,"props":712,"children":713},{"class":266},[714],{"type":176,"value":269},{"type":170,"tag":247,"props":716,"children":717},{"class":306},[718],{"type":176,"value":601},{"type":170,"tag":247,"props":720,"children":721},{"class":266},[722],{"type":176,"value":269},{"type":170,"tag":247,"props":724,"children":725},{"class":325},[726],{"type":176,"value":328},{"type":170,"tag":247,"props":728,"children":729},{"class":266},[730],{"type":176,"value":269},{"type":170,"tag":247,"props":732,"children":733},{"class":345},[734],{"type":176,"value":400},{"type":170,"tag":247,"props":736,"children":737},{"class":266},[738],{"type":176,"value":352},{"type":170,"tag":247,"props":740,"children":741},{"class":355},[742],{"type":176,"value":358},{"type":170,"tag":247,"props":744,"children":745},{"class":361},[746],{"type":176,"value":680},{"type":170,"tag":247,"props":748,"children":749},{"class":355},[750],{"type":176,"value":358},{"type":170,"tag":247,"props":752,"children":753},{"class":296},[754],{"type":176,"value":373},{"type":170,"tag":247,"props":756,"children":757},{"class":266},[758],{"type":176,"value":269},{"type":170,"tag":247,"props":760,"children":761},{"class":355},[762],{"type":176,"value":358},{"type":170,"tag":247,"props":764,"children":765},{"class":361},[766],{"type":176,"value":767},"nuxt3",{"type":170,"tag":247,"props":769,"children":770},{"class":355},[771],{"type":176,"value":358},{"type":170,"tag":247,"props":773,"children":774},{"class":266},[775],{"type":176,"value":422},{"type":170,"tag":207,"props":777,"children":779},{"id":778},"wherequery",[780],{"type":170,"tag":226,"props":781,"children":782},{},[783],{"type":176,"value":784},"where(query)",{"type":170,"tag":786,"props":787,"children":788},"ul",{},[789],{"type":170,"tag":790,"props":791,"children":792},"li",{},[793,798,800],{"type":170,"tag":226,"props":794,"children":795},{},[796],{"type":176,"value":797},"query",{"type":176,"value":799},":\n",{"type":170,"tag":786,"props":801,"children":802},{},[803,813],{"type":170,"tag":790,"props":804,"children":805},{},[806,808],{"type":176,"value":807},"Type: ",{"type":170,"tag":226,"props":809,"children":810},{},[811],{"type":176,"value":812},"Partial\u003CQueryBuilderParams>",{"type":170,"tag":790,"props":814,"children":815},{},[816],{"type":170,"tag":817,"props":818,"children":819},"strong",{},[820],{"type":176,"value":821},"Required",{"type":170,"tag":178,"props":823,"children":824},{},[825],{"type":176,"value":826},"Filter results by query.",{"type":170,"tag":178,"props":828,"children":829},{},[830,832,839,841,846,848,853,854,859,860,865,866,871,872,877,879],{"type":176,"value":831},"Where queries are based on subset of ",{"type":170,"tag":219,"props":833,"children":836},{"href":834,"rel":835},"https://www.mongodb.com/docs/manual/reference/operator/query",[223],[837],{"type":176,"value":838},"Mongo query syntax",{"type":176,"value":840},", it handles: ",{"type":170,"tag":226,"props":842,"children":843},{},[844],{"type":176,"value":845},"$eq",{"type":176,"value":847},", ",{"type":170,"tag":226,"props":849,"children":850},{},[851],{"type":176,"value":852},"$ne",{"type":176,"value":847},{"type":170,"tag":226,"props":855,"children":856},{},[857],{"type":176,"value":858},"$gt",{"type":176,"value":847},{"type":170,"tag":226,"props":861,"children":862},{},[863],{"type":176,"value":864},"$gte",{"type":176,"value":847},{"type":170,"tag":226,"props":867,"children":868},{},[869],{"type":176,"value":870},"$lt",{"type":176,"value":847},{"type":170,"tag":226,"props":873,"children":874},{},[875],{"type":176,"value":876},"$lte",{"type":176,"value":878}," and ",{"type":170,"tag":226,"props":880,"children":881},{},[882],{"type":176,"value":883},"$in",{"type":170,"tag":236,"props":885,"children":887},{"className":570,"code":886,"language":572,"meta":163},"// 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",[888],{"type":170,"tag":226,"props":889,"children":890},{"__ignoreMap":163},[891,899,1032,1038,1046,1201,1207,1215,1366,1372,1381],{"type":170,"tag":247,"props":892,"children":893},{"class":249,"line":250},[894],{"type":170,"tag":247,"props":895,"children":896},{"class":582},[897],{"type":176,"value":898},"// Implicit (assumes $eq operator)\n",{"type":170,"tag":247,"props":900,"children":901},{"class":249,"line":192},[902,906,910,914,918,922,926,930,934,938,942,946,950,954,958,962,967,971,975,979,985,991,995,999,1004,1008,1012,1016,1020,1024,1028],{"type":170,"tag":247,"props":903,"children":904},{"class":286},[905],{"type":176,"value":289},{"type":170,"tag":247,"props":907,"children":908},{"class":266},[909],{"type":176,"value":269},{"type":170,"tag":247,"props":911,"children":912},{"class":306},[913],{"type":176,"value":680},{"type":170,"tag":247,"props":915,"children":916},{"class":266},[917],{"type":176,"value":269},{"type":170,"tag":247,"props":919,"children":920},{"class":325},[921],{"type":176,"value":328},{"type":170,"tag":247,"props":923,"children":924},{"class":266},[925],{"type":176,"value":269},{"type":170,"tag":247,"props":927,"children":928},{"class":335},[929],{"type":176,"value":338},{"type":170,"tag":247,"props":931,"children":932},{"class":266},[933],{"type":176,"value":269},{"type":170,"tag":247,"props":935,"children":936},{"class":345},[937],{"type":176,"value":400},{"type":170,"tag":247,"props":939,"children":940},{"class":266},[941],{"type":176,"value":352},{"type":170,"tag":247,"props":943,"children":944},{"class":355},[945],{"type":176,"value":358},{"type":170,"tag":247,"props":947,"children":948},{"class":361},[949],{"type":176,"value":680},{"type":170,"tag":247,"props":951,"children":952},{"class":355},[953],{"type":176,"value":358},{"type":170,"tag":247,"props":955,"children":956},{"class":266},[957],{"type":176,"value":422},{"type":170,"tag":247,"props":959,"children":960},{"class":296},[961],{"type":176,"value":427},{"type":170,"tag":247,"props":963,"children":964},{"class":345},[965],{"type":176,"value":966},"where",{"type":170,"tag":247,"props":968,"children":969},{"class":266},[970],{"type":176,"value":352},{"type":170,"tag":247,"props":972,"children":973},{"class":296},[974],{"type":176,"value":299},{"type":170,"tag":247,"props":976,"children":977},{"class":266},[978],{"type":176,"value":269},{"type":170,"tag":247,"props":980,"children":982},{"class":981},"ct-340802",[983],{"type":176,"value":984},"title",{"type":170,"tag":247,"props":986,"children":988},{"class":987},"ct-931742",[989],{"type":176,"value":990},":",{"type":170,"tag":247,"props":992,"children":993},{"class":266},[994],{"type":176,"value":269},{"type":170,"tag":247,"props":996,"children":997},{"class":355},[998],{"type":176,"value":358},{"type":170,"tag":247,"props":1000,"children":1001},{"class":361},[1002],{"type":176,"value":1003},"Home",{"type":170,"tag":247,"props":1005,"children":1006},{"class":355},[1007],{"type":176,"value":358},{"type":170,"tag":247,"props":1009,"children":1010},{"class":266},[1011],{"type":176,"value":269},{"type":170,"tag":247,"props":1013,"children":1014},{"class":296},[1015],{"type":176,"value":318},{"type":170,"tag":247,"props":1017,"children":1018},{"class":266},[1019],{"type":176,"value":422},{"type":170,"tag":247,"props":1021,"children":1022},{"class":296},[1023],{"type":176,"value":427},{"type":170,"tag":247,"props":1025,"children":1026},{"class":345},[1027],{"type":176,"value":432},{"type":170,"tag":247,"props":1029,"children":1030},{"class":266},[1031],{"type":176,"value":622},{"type":170,"tag":247,"props":1033,"children":1034},{"class":249,"line":440},[1035],{"type":170,"tag":247,"props":1036,"children":1037},{},[],{"type":170,"tag":247,"props":1039,"children":1040},{"class":249,"line":457},[1041],{"type":170,"tag":247,"props":1042,"children":1043},{"class":582},[1044],{"type":176,"value":1045},"// Explicit $eq\n",{"type":170,"tag":247,"props":1047,"children":1048},{"class":249,"line":464},[1049,1053,1057,1061,1065,1069,1073,1077,1081,1085,1089,1093,1097,1101,1105,1109,1113,1117,1121,1125,1129,1133,1137,1141,1145,1149,1153,1157,1161,1165,1169,1173,1177,1181,1185,1189,1193,1197],{"type":170,"tag":247,"props":1050,"children":1051},{"class":286},[1052],{"type":176,"value":289},{"type":170,"tag":247,"props":1054,"children":1055},{"class":266},[1056],{"type":176,"value":269},{"type":170,"tag":247,"props":1058,"children":1059},{"class":306},[1060],{"type":176,"value":680},{"type":170,"tag":247,"props":1062,"children":1063},{"class":266},[1064],{"type":176,"value":269},{"type":170,"tag":247,"props":1066,"children":1067},{"class":325},[1068],{"type":176,"value":328},{"type":170,"tag":247,"props":1070,"children":1071},{"class":266},[1072],{"type":176,"value":269},{"type":170,"tag":247,"props":1074,"children":1075},{"class":335},[1076],{"type":176,"value":338},{"type":170,"tag":247,"props":1078,"children":1079},{"class":266},[1080],{"type":176,"value":269},{"type":170,"tag":247,"props":1082,"children":1083},{"class":345},[1084],{"type":176,"value":400},{"type":170,"tag":247,"props":1086,"children":1087},{"class":266},[1088],{"type":176,"value":352},{"type":170,"tag":247,"props":1090,"children":1091},{"class":355},[1092],{"type":176,"value":358},{"type":170,"tag":247,"props":1094,"children":1095},{"class":361},[1096],{"type":176,"value":680},{"type":170,"tag":247,"props":1098,"children":1099},{"class":355},[1100],{"type":176,"value":358},{"type":170,"tag":247,"props":1102,"children":1103},{"class":266},[1104],{"type":176,"value":422},{"type":170,"tag":247,"props":1106,"children":1107},{"class":296},[1108],{"type":176,"value":427},{"type":170,"tag":247,"props":1110,"children":1111},{"class":345},[1112],{"type":176,"value":966},{"type":170,"tag":247,"props":1114,"children":1115},{"class":266},[1116],{"type":176,"value":352},{"type":170,"tag":247,"props":1118,"children":1119},{"class":296},[1120],{"type":176,"value":299},{"type":170,"tag":247,"props":1122,"children":1123},{"class":266},[1124],{"type":176,"value":269},{"type":170,"tag":247,"props":1126,"children":1127},{"class":981},[1128],{"type":176,"value":984},{"type":170,"tag":247,"props":1130,"children":1131},{"class":987},[1132],{"type":176,"value":990},{"type":170,"tag":247,"props":1134,"children":1135},{"class":266},[1136],{"type":176,"value":269},{"type":170,"tag":247,"props":1138,"children":1139},{"class":296},[1140],{"type":176,"value":299},{"type":170,"tag":247,"props":1142,"children":1143},{"class":266},[1144],{"type":176,"value":269},{"type":170,"tag":247,"props":1146,"children":1147},{"class":981},[1148],{"type":176,"value":845},{"type":170,"tag":247,"props":1150,"children":1151},{"class":987},[1152],{"type":176,"value":990},{"type":170,"tag":247,"props":1154,"children":1155},{"class":266},[1156],{"type":176,"value":269},{"type":170,"tag":247,"props":1158,"children":1159},{"class":355},[1160],{"type":176,"value":358},{"type":170,"tag":247,"props":1162,"children":1163},{"class":361},[1164],{"type":176,"value":1003},{"type":170,"tag":247,"props":1166,"children":1167},{"class":355},[1168],{"type":176,"value":358},{"type":170,"tag":247,"props":1170,"children":1171},{"class":266},[1172],{"type":176,"value":269},{"type":170,"tag":247,"props":1174,"children":1175},{"class":296},[1176],{"type":176,"value":318},{"type":170,"tag":247,"props":1178,"children":1179},{"class":266},[1180],{"type":176,"value":269},{"type":170,"tag":247,"props":1182,"children":1183},{"class":296},[1184],{"type":176,"value":318},{"type":170,"tag":247,"props":1186,"children":1187},{"class":266},[1188],{"type":176,"value":422},{"type":170,"tag":247,"props":1190,"children":1191},{"class":296},[1192],{"type":176,"value":427},{"type":170,"tag":247,"props":1194,"children":1195},{"class":345},[1196],{"type":176,"value":432},{"type":170,"tag":247,"props":1198,"children":1199},{"class":266},[1200],{"type":176,"value":622},{"type":170,"tag":247,"props":1202,"children":1203},{"class":249,"line":481},[1204],{"type":170,"tag":247,"props":1205,"children":1206},{},[],{"type":170,"tag":247,"props":1208,"children":1209},{"class":249,"line":502},[1210],{"type":170,"tag":247,"props":1211,"children":1212},{"class":582},[1213],{"type":176,"value":1214},"// $gt\n",{"type":170,"tag":247,"props":1216,"children":1217},{"class":249,"line":511},[1218,1222,1226,1230,1234,1238,1242,1246,1250,1254,1258,1262,1266,1270,1274,1278,1282,1286,1290,1294,1299,1303,1307,1311,1315,1319,1323,1327,1333,1337,1341,1345,1349,1353,1357,1362],{"type":170,"tag":247,"props":1219,"children":1220},{"class":286},[1221],{"type":176,"value":289},{"type":170,"tag":247,"props":1223,"children":1224},{"class":266},[1225],{"type":176,"value":269},{"type":170,"tag":247,"props":1227,"children":1228},{"class":306},[1229],{"type":176,"value":680},{"type":170,"tag":247,"props":1231,"children":1232},{"class":266},[1233],{"type":176,"value":269},{"type":170,"tag":247,"props":1235,"children":1236},{"class":325},[1237],{"type":176,"value":328},{"type":170,"tag":247,"props":1239,"children":1240},{"class":266},[1241],{"type":176,"value":269},{"type":170,"tag":247,"props":1243,"children":1244},{"class":335},[1245],{"type":176,"value":338},{"type":170,"tag":247,"props":1247,"children":1248},{"class":266},[1249],{"type":176,"value":269},{"type":170,"tag":247,"props":1251,"children":1252},{"class":345},[1253],{"type":176,"value":400},{"type":170,"tag":247,"props":1255,"children":1256},{"class":266},[1257],{"type":176,"value":352},{"type":170,"tag":247,"props":1259,"children":1260},{"class":355},[1261],{"type":176,"value":358},{"type":170,"tag":247,"props":1263,"children":1264},{"class":361},[1265],{"type":176,"value":680},{"type":170,"tag":247,"props":1267,"children":1268},{"class":355},[1269],{"type":176,"value":358},{"type":170,"tag":247,"props":1271,"children":1272},{"class":266},[1273],{"type":176,"value":422},{"type":170,"tag":247,"props":1275,"children":1276},{"class":296},[1277],{"type":176,"value":427},{"type":170,"tag":247,"props":1279,"children":1280},{"class":345},[1281],{"type":176,"value":966},{"type":170,"tag":247,"props":1283,"children":1284},{"class":266},[1285],{"type":176,"value":352},{"type":170,"tag":247,"props":1287,"children":1288},{"class":296},[1289],{"type":176,"value":299},{"type":170,"tag":247,"props":1291,"children":1292},{"class":266},[1293],{"type":176,"value":269},{"type":170,"tag":247,"props":1295,"children":1296},{"class":981},[1297],{"type":176,"value":1298},"age",{"type":170,"tag":247,"props":1300,"children":1301},{"class":987},[1302],{"type":176,"value":990},{"type":170,"tag":247,"props":1304,"children":1305},{"class":266},[1306],{"type":176,"value":269},{"type":170,"tag":247,"props":1308,"children":1309},{"class":296},[1310],{"type":176,"value":299},{"type":170,"tag":247,"props":1312,"children":1313},{"class":266},[1314],{"type":176,"value":269},{"type":170,"tag":247,"props":1316,"children":1317},{"class":981},[1318],{"type":176,"value":858},{"type":170,"tag":247,"props":1320,"children":1321},{"class":987},[1322],{"type":176,"value":990},{"type":170,"tag":247,"props":1324,"children":1325},{"class":266},[1326],{"type":176,"value":269},{"type":170,"tag":247,"props":1328,"children":1330},{"class":1329},"ct-822477",[1331],{"type":176,"value":1332},"18",{"type":170,"tag":247,"props":1334,"children":1335},{"class":266},[1336],{"type":176,"value":269},{"type":170,"tag":247,"props":1338,"children":1339},{"class":296},[1340],{"type":176,"value":318},{"type":170,"tag":247,"props":1342,"children":1343},{"class":266},[1344],{"type":176,"value":269},{"type":170,"tag":247,"props":1346,"children":1347},{"class":296},[1348],{"type":176,"value":318},{"type":170,"tag":247,"props":1350,"children":1351},{"class":266},[1352],{"type":176,"value":422},{"type":170,"tag":247,"props":1354,"children":1355},{"class":296},[1356],{"type":176,"value":427},{"type":170,"tag":247,"props":1358,"children":1359},{"class":345},[1360],{"type":176,"value":1361},"find",{"type":170,"tag":247,"props":1363,"children":1364},{"class":266},[1365],{"type":176,"value":622},{"type":170,"tag":247,"props":1367,"children":1368},{"class":249,"line":531},[1369],{"type":170,"tag":247,"props":1370,"children":1371},{},[],{"type":170,"tag":247,"props":1373,"children":1375},{"class":249,"line":1374},10,[1376],{"type":170,"tag":247,"props":1377,"children":1378},{"class":582},[1379],{"type":176,"value":1380},"// $in\n",{"type":170,"tag":247,"props":1382,"children":1384},{"class":249,"line":1383},11,[1385,1389,1393,1397,1401,1405,1409,1413,1417,1421,1425,1429,1433,1437,1441,1445,1449,1453,1457,1461,1466,1470,1474,1478,1482,1486,1490,1495,1499,1504,1508,1512,1516,1520,1525,1529,1534,1538,1542,1546,1550,1554,1558],{"type":170,"tag":247,"props":1386,"children":1387},{"class":286},[1388],{"type":176,"value":289},{"type":170,"tag":247,"props":1390,"children":1391},{"class":266},[1392],{"type":176,"value":269},{"type":170,"tag":247,"props":1394,"children":1395},{"class":306},[1396],{"type":176,"value":680},{"type":170,"tag":247,"props":1398,"children":1399},{"class":266},[1400],{"type":176,"value":269},{"type":170,"tag":247,"props":1402,"children":1403},{"class":325},[1404],{"type":176,"value":328},{"type":170,"tag":247,"props":1406,"children":1407},{"class":266},[1408],{"type":176,"value":269},{"type":170,"tag":247,"props":1410,"children":1411},{"class":335},[1412],{"type":176,"value":338},{"type":170,"tag":247,"props":1414,"children":1415},{"class":266},[1416],{"type":176,"value":269},{"type":170,"tag":247,"props":1418,"children":1419},{"class":345},[1420],{"type":176,"value":400},{"type":170,"tag":247,"props":1422,"children":1423},{"class":266},[1424],{"type":176,"value":352},{"type":170,"tag":247,"props":1426,"children":1427},{"class":355},[1428],{"type":176,"value":358},{"type":170,"tag":247,"props":1430,"children":1431},{"class":361},[1432],{"type":176,"value":680},{"type":170,"tag":247,"props":1434,"children":1435},{"class":355},[1436],{"type":176,"value":358},{"type":170,"tag":247,"props":1438,"children":1439},{"class":266},[1440],{"type":176,"value":422},{"type":170,"tag":247,"props":1442,"children":1443},{"class":296},[1444],{"type":176,"value":427},{"type":170,"tag":247,"props":1446,"children":1447},{"class":345},[1448],{"type":176,"value":966},{"type":170,"tag":247,"props":1450,"children":1451},{"class":266},[1452],{"type":176,"value":352},{"type":170,"tag":247,"props":1454,"children":1455},{"class":296},[1456],{"type":176,"value":299},{"type":170,"tag":247,"props":1458,"children":1459},{"class":266},[1460],{"type":176,"value":269},{"type":170,"tag":247,"props":1462,"children":1463},{"class":981},[1464],{"type":176,"value":1465},"name",{"type":170,"tag":247,"props":1467,"children":1468},{"class":987},[1469],{"type":176,"value":990},{"type":170,"tag":247,"props":1471,"children":1472},{"class":266},[1473],{"type":176,"value":269},{"type":170,"tag":247,"props":1475,"children":1476},{"class":296},[1477],{"type":176,"value":299},{"type":170,"tag":247,"props":1479,"children":1480},{"class":266},[1481],{"type":176,"value":269},{"type":170,"tag":247,"props":1483,"children":1484},{"class":981},[1485],{"type":176,"value":883},{"type":170,"tag":247,"props":1487,"children":1488},{"class":987},[1489],{"type":176,"value":990},{"type":170,"tag":247,"props":1491,"children":1492},{"class":266},[1493],{"type":176,"value":1494}," [",{"type":170,"tag":247,"props":1496,"children":1497},{"class":355},[1498],{"type":176,"value":358},{"type":170,"tag":247,"props":1500,"children":1501},{"class":361},[1502],{"type":176,"value":1503},"odin",{"type":170,"tag":247,"props":1505,"children":1506},{"class":355},[1507],{"type":176,"value":358},{"type":170,"tag":247,"props":1509,"children":1510},{"class":296},[1511],{"type":176,"value":373},{"type":170,"tag":247,"props":1513,"children":1514},{"class":266},[1515],{"type":176,"value":269},{"type":170,"tag":247,"props":1517,"children":1518},{"class":355},[1519],{"type":176,"value":358},{"type":170,"tag":247,"props":1521,"children":1522},{"class":361},[1523],{"type":176,"value":1524},"thor",{"type":170,"tag":247,"props":1526,"children":1527},{"class":355},[1528],{"type":176,"value":358},{"type":170,"tag":247,"props":1530,"children":1531},{"class":266},[1532],{"type":176,"value":1533},"] ",{"type":170,"tag":247,"props":1535,"children":1536},{"class":296},[1537],{"type":176,"value":318},{"type":170,"tag":247,"props":1539,"children":1540},{"class":266},[1541],{"type":176,"value":269},{"type":170,"tag":247,"props":1543,"children":1544},{"class":296},[1545],{"type":176,"value":318},{"type":170,"tag":247,"props":1547,"children":1548},{"class":266},[1549],{"type":176,"value":422},{"type":170,"tag":247,"props":1551,"children":1552},{"class":296},[1553],{"type":176,"value":427},{"type":170,"tag":247,"props":1555,"children":1556},{"class":345},[1557],{"type":176,"value":1361},{"type":170,"tag":247,"props":1559,"children":1560},{"class":266},[1561],{"type":176,"value":382},{"type":170,"tag":178,"props":1563,"children":1564},{},[1565],{"type":176,"value":1566},"In order to filter in objects and an array or arrays, you can use the nested properties style:",{"type":170,"tag":236,"props":1568,"children":1570},{"className":570,"code":1569,"language":572,"meta":163},"const products = await queryContent('products').where({ 'categories': { $contains: 'top' } }).find()\n\nconst products = await queryContent('products').where({ 'categories': { $contains: ['top', 'woman'] } }).find()\n",[1571],{"type":170,"tag":226,"props":1572,"children":1573},{"__ignoreMap":163},[1574,1742,1748],{"type":170,"tag":247,"props":1575,"children":1576},{"class":249,"line":250},[1577,1581,1585,1590,1594,1598,1602,1606,1610,1614,1618,1622,1626,1630,1634,1638,1642,1646,1650,1654,1658,1664,1668,1672,1676,1680,1684,1689,1693,1697,1701,1706,1710,1714,1718,1722,1726,1730,1734,1738],{"type":170,"tag":247,"props":1578,"children":1579},{"class":286},[1580],{"type":176,"value":289},{"type":170,"tag":247,"props":1582,"children":1583},{"class":266},[1584],{"type":176,"value":269},{"type":170,"tag":247,"props":1586,"children":1587},{"class":306},[1588],{"type":176,"value":1589},"products",{"type":170,"tag":247,"props":1591,"children":1592},{"class":266},[1593],{"type":176,"value":269},{"type":170,"tag":247,"props":1595,"children":1596},{"class":325},[1597],{"type":176,"value":328},{"type":170,"tag":247,"props":1599,"children":1600},{"class":266},[1601],{"type":176,"value":269},{"type":170,"tag":247,"props":1603,"children":1604},{"class":335},[1605],{"type":176,"value":338},{"type":170,"tag":247,"props":1607,"children":1608},{"class":266},[1609],{"type":176,"value":269},{"type":170,"tag":247,"props":1611,"children":1612},{"class":345},[1613],{"type":176,"value":400},{"type":170,"tag":247,"props":1615,"children":1616},{"class":266},[1617],{"type":176,"value":352},{"type":170,"tag":247,"props":1619,"children":1620},{"class":355},[1621],{"type":176,"value":358},{"type":170,"tag":247,"props":1623,"children":1624},{"class":361},[1625],{"type":176,"value":1589},{"type":170,"tag":247,"props":1627,"children":1628},{"class":355},[1629],{"type":176,"value":358},{"type":170,"tag":247,"props":1631,"children":1632},{"class":266},[1633],{"type":176,"value":422},{"type":170,"tag":247,"props":1635,"children":1636},{"class":296},[1637],{"type":176,"value":427},{"type":170,"tag":247,"props":1639,"children":1640},{"class":345},[1641],{"type":176,"value":966},{"type":170,"tag":247,"props":1643,"children":1644},{"class":266},[1645],{"type":176,"value":352},{"type":170,"tag":247,"props":1647,"children":1648},{"class":296},[1649],{"type":176,"value":299},{"type":170,"tag":247,"props":1651,"children":1652},{"class":266},[1653],{"type":176,"value":269},{"type":170,"tag":247,"props":1655,"children":1656},{"class":355},[1657],{"type":176,"value":358},{"type":170,"tag":247,"props":1659,"children":1661},{"class":1660},"ct-716470",[1662],{"type":176,"value":1663},"categories",{"type":170,"tag":247,"props":1665,"children":1666},{"class":355},[1667],{"type":176,"value":358},{"type":170,"tag":247,"props":1669,"children":1670},{"class":987},[1671],{"type":176,"value":990},{"type":170,"tag":247,"props":1673,"children":1674},{"class":266},[1675],{"type":176,"value":269},{"type":170,"tag":247,"props":1677,"children":1678},{"class":296},[1679],{"type":176,"value":299},{"type":170,"tag":247,"props":1681,"children":1682},{"class":266},[1683],{"type":176,"value":269},{"type":170,"tag":247,"props":1685,"children":1686},{"class":981},[1687],{"type":176,"value":1688},"$contains",{"type":170,"tag":247,"props":1690,"children":1691},{"class":987},[1692],{"type":176,"value":990},{"type":170,"tag":247,"props":1694,"children":1695},{"class":266},[1696],{"type":176,"value":269},{"type":170,"tag":247,"props":1698,"children":1699},{"class":355},[1700],{"type":176,"value":358},{"type":170,"tag":247,"props":1702,"children":1703},{"class":361},[1704],{"type":176,"value":1705},"top",{"type":170,"tag":247,"props":1707,"children":1708},{"class":355},[1709],{"type":176,"value":358},{"type":170,"tag":247,"props":1711,"children":1712},{"class":266},[1713],{"type":176,"value":269},{"type":170,"tag":247,"props":1715,"children":1716},{"class":296},[1717],{"type":176,"value":318},{"type":170,"tag":247,"props":1719,"children":1720},{"class":266},[1721],{"type":176,"value":269},{"type":170,"tag":247,"props":1723,"children":1724},{"class":296},[1725],{"type":176,"value":318},{"type":170,"tag":247,"props":1727,"children":1728},{"class":266},[1729],{"type":176,"value":422},{"type":170,"tag":247,"props":1731,"children":1732},{"class":296},[1733],{"type":176,"value":427},{"type":170,"tag":247,"props":1735,"children":1736},{"class":345},[1737],{"type":176,"value":1361},{"type":170,"tag":247,"props":1739,"children":1740},{"class":266},[1741],{"type":176,"value":622},{"type":170,"tag":247,"props":1743,"children":1744},{"class":249,"line":192},[1745],{"type":170,"tag":247,"props":1746,"children":1747},{},[],{"type":170,"tag":247,"props":1749,"children":1750},{"class":249,"line":440},[1751,1755,1759,1763,1767,1771,1775,1779,1783,1787,1791,1795,1799,1803,1807,1811,1815,1819,1823,1827,1831,1835,1839,1843,1847,1851,1855,1859,1863,1867,1871,1875,1879,1883,1887,1891,1896,1900,1904,1908,1912,1916,1920,1924,1928],{"type":170,"tag":247,"props":1752,"children":1753},{"class":286},[1754],{"type":176,"value":289},{"type":170,"tag":247,"props":1756,"children":1757},{"class":266},[1758],{"type":176,"value":269},{"type":170,"tag":247,"props":1760,"children":1761},{"class":306},[1762],{"type":176,"value":1589},{"type":170,"tag":247,"props":1764,"children":1765},{"class":266},[1766],{"type":176,"value":269},{"type":170,"tag":247,"props":1768,"children":1769},{"class":325},[1770],{"type":176,"value":328},{"type":170,"tag":247,"props":1772,"children":1773},{"class":266},[1774],{"type":176,"value":269},{"type":170,"tag":247,"props":1776,"children":1777},{"class":335},[1778],{"type":176,"value":338},{"type":170,"tag":247,"props":1780,"children":1781},{"class":266},[1782],{"type":176,"value":269},{"type":170,"tag":247,"props":1784,"children":1785},{"class":345},[1786],{"type":176,"value":400},{"type":170,"tag":247,"props":1788,"children":1789},{"class":266},[1790],{"type":176,"value":352},{"type":170,"tag":247,"props":1792,"children":1793},{"class":355},[1794],{"type":176,"value":358},{"type":170,"tag":247,"props":1796,"children":1797},{"class":361},[1798],{"type":176,"value":1589},{"type":170,"tag":247,"props":1800,"children":1801},{"class":355},[1802],{"type":176,"value":358},{"type":170,"tag":247,"props":1804,"children":1805},{"class":266},[1806],{"type":176,"value":422},{"type":170,"tag":247,"props":1808,"children":1809},{"class":296},[1810],{"type":176,"value":427},{"type":170,"tag":247,"props":1812,"children":1813},{"class":345},[1814],{"type":176,"value":966},{"type":170,"tag":247,"props":1816,"children":1817},{"class":266},[1818],{"type":176,"value":352},{"type":170,"tag":247,"props":1820,"children":1821},{"class":296},[1822],{"type":176,"value":299},{"type":170,"tag":247,"props":1824,"children":1825},{"class":266},[1826],{"type":176,"value":269},{"type":170,"tag":247,"props":1828,"children":1829},{"class":355},[1830],{"type":176,"value":358},{"type":170,"tag":247,"props":1832,"children":1833},{"class":1660},[1834],{"type":176,"value":1663},{"type":170,"tag":247,"props":1836,"children":1837},{"class":355},[1838],{"type":176,"value":358},{"type":170,"tag":247,"props":1840,"children":1841},{"class":987},[1842],{"type":176,"value":990},{"type":170,"tag":247,"props":1844,"children":1845},{"class":266},[1846],{"type":176,"value":269},{"type":170,"tag":247,"props":1848,"children":1849},{"class":296},[1850],{"type":176,"value":299},{"type":170,"tag":247,"props":1852,"children":1853},{"class":266},[1854],{"type":176,"value":269},{"type":170,"tag":247,"props":1856,"children":1857},{"class":981},[1858],{"type":176,"value":1688},{"type":170,"tag":247,"props":1860,"children":1861},{"class":987},[1862],{"type":176,"value":990},{"type":170,"tag":247,"props":1864,"children":1865},{"class":266},[1866],{"type":176,"value":1494},{"type":170,"tag":247,"props":1868,"children":1869},{"class":355},[1870],{"type":176,"value":358},{"type":170,"tag":247,"props":1872,"children":1873},{"class":361},[1874],{"type":176,"value":1705},{"type":170,"tag":247,"props":1876,"children":1877},{"class":355},[1878],{"type":176,"value":358},{"type":170,"tag":247,"props":1880,"children":1881},{"class":296},[1882],{"type":176,"value":373},{"type":170,"tag":247,"props":1884,"children":1885},{"class":266},[1886],{"type":176,"value":269},{"type":170,"tag":247,"props":1888,"children":1889},{"class":355},[1890],{"type":176,"value":358},{"type":170,"tag":247,"props":1892,"children":1893},{"class":361},[1894],{"type":176,"value":1895},"woman",{"type":170,"tag":247,"props":1897,"children":1898},{"class":355},[1899],{"type":176,"value":358},{"type":170,"tag":247,"props":1901,"children":1902},{"class":266},[1903],{"type":176,"value":1533},{"type":170,"tag":247,"props":1905,"children":1906},{"class":296},[1907],{"type":176,"value":318},{"type":170,"tag":247,"props":1909,"children":1910},{"class":266},[1911],{"type":176,"value":269},{"type":170,"tag":247,"props":1913,"children":1914},{"class":296},[1915],{"type":176,"value":318},{"type":170,"tag":247,"props":1917,"children":1918},{"class":266},[1919],{"type":176,"value":422},{"type":170,"tag":247,"props":1921,"children":1922},{"class":296},[1923],{"type":176,"value":427},{"type":170,"tag":247,"props":1925,"children":1926},{"class":345},[1927],{"type":176,"value":1361},{"type":170,"tag":247,"props":1929,"children":1930},{"class":266},[1931],{"type":176,"value":382},{"type":170,"tag":207,"props":1933,"children":1935},{"id":1934},"sortoptions",[1936],{"type":170,"tag":226,"props":1937,"children":1938},{},[1939],{"type":176,"value":1940},"sort(options)",{"type":170,"tag":786,"props":1942,"children":1943},{},[1944],{"type":170,"tag":790,"props":1945,"children":1946},{},[1947,1952],{"type":170,"tag":226,"props":1948,"children":1949},{},[1950],{"type":176,"value":1951},"options",{"type":170,"tag":786,"props":1953,"children":1954},{},[1955,1964],{"type":170,"tag":790,"props":1956,"children":1957},{},[1958,1959],{"type":176,"value":807},{"type":170,"tag":226,"props":1960,"children":1961},{},[1962],{"type":176,"value":1963},"object",{"type":170,"tag":790,"props":1965,"children":1966},{},[1967],{"type":170,"tag":817,"props":1968,"children":1969},{},[1970],{"type":176,"value":821},{"type":170,"tag":178,"props":1972,"children":1973},{},[1974],{"type":176,"value":1975},"Sort results by a field or fields.",{"type":170,"tag":236,"props":1977,"children":1979},{"className":570,"code":1978,"language":572,"meta":163},"// 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",[1980],{"type":170,"tag":226,"props":1981,"children":1982},{"__ignoreMap":163},[1983,1991,2050,2107,2126,2132,2140,2199,2284,2303,2311,2370,2426,2486,2506,2513,2522,2582,2647],{"type":170,"tag":247,"props":1984,"children":1985},{"class":249,"line":250},[1986],{"type":170,"tag":247,"props":1987,"children":1988},{"class":582},[1989],{"type":176,"value":1990},"// Sort by title ascending\n",{"type":170,"tag":247,"props":1992,"children":1993},{"class":249,"line":192},[1994,1998,2002,2006,2010,2014,2018,2022,2026,2030,2034,2038,2042,2046],{"type":170,"tag":247,"props":1995,"children":1996},{"class":286},[1997],{"type":176,"value":289},{"type":170,"tag":247,"props":1999,"children":2000},{"class":266},[2001],{"type":176,"value":269},{"type":170,"tag":247,"props":2003,"children":2004},{"class":306},[2005],{"type":176,"value":680},{"type":170,"tag":247,"props":2007,"children":2008},{"class":266},[2009],{"type":176,"value":269},{"type":170,"tag":247,"props":2011,"children":2012},{"class":325},[2013],{"type":176,"value":328},{"type":170,"tag":247,"props":2015,"children":2016},{"class":266},[2017],{"type":176,"value":269},{"type":170,"tag":247,"props":2019,"children":2020},{"class":335},[2021],{"type":176,"value":338},{"type":170,"tag":247,"props":2023,"children":2024},{"class":266},[2025],{"type":176,"value":269},{"type":170,"tag":247,"props":2027,"children":2028},{"class":345},[2029],{"type":176,"value":400},{"type":170,"tag":247,"props":2031,"children":2032},{"class":266},[2033],{"type":176,"value":352},{"type":170,"tag":247,"props":2035,"children":2036},{"class":355},[2037],{"type":176,"value":358},{"type":170,"tag":247,"props":2039,"children":2040},{"class":361},[2041],{"type":176,"value":680},{"type":170,"tag":247,"props":2043,"children":2044},{"class":355},[2045],{"type":176,"value":358},{"type":170,"tag":247,"props":2047,"children":2048},{"class":266},[2049],{"type":176,"value":689},{"type":170,"tag":247,"props":2051,"children":2052},{"class":249,"line":440},[2053,2057,2061,2066,2070,2074,2078,2082,2086,2090,2095,2099,2103],{"type":170,"tag":247,"props":2054,"children":2055},{"class":266},[2056],{"type":176,"value":487},{"type":170,"tag":247,"props":2058,"children":2059},{"class":296},[2060],{"type":176,"value":427},{"type":170,"tag":247,"props":2062,"children":2063},{"class":345},[2064],{"type":176,"value":2065},"sort",{"type":170,"tag":247,"props":2067,"children":2068},{"class":266},[2069],{"type":176,"value":352},{"type":170,"tag":247,"props":2071,"children":2072},{"class":296},[2073],{"type":176,"value":299},{"type":170,"tag":247,"props":2075,"children":2076},{"class":266},[2077],{"type":176,"value":269},{"type":170,"tag":247,"props":2079,"children":2080},{"class":981},[2081],{"type":176,"value":984},{"type":170,"tag":247,"props":2083,"children":2084},{"class":987},[2085],{"type":176,"value":990},{"type":170,"tag":247,"props":2087,"children":2088},{"class":266},[2089],{"type":176,"value":269},{"type":170,"tag":247,"props":2091,"children":2092},{"class":1329},[2093],{"type":176,"value":2094},"1",{"type":170,"tag":247,"props":2096,"children":2097},{"class":266},[2098],{"type":176,"value":269},{"type":170,"tag":247,"props":2100,"children":2101},{"class":296},[2102],{"type":176,"value":318},{"type":170,"tag":247,"props":2104,"children":2105},{"class":266},[2106],{"type":176,"value":689},{"type":170,"tag":247,"props":2108,"children":2109},{"class":249,"line":457},[2110,2114,2118,2122],{"type":170,"tag":247,"props":2111,"children":2112},{"class":266},[2113],{"type":176,"value":487},{"type":170,"tag":247,"props":2115,"children":2116},{"class":296},[2117],{"type":176,"value":427},{"type":170,"tag":247,"props":2119,"children":2120},{"class":345},[2121],{"type":176,"value":1361},{"type":170,"tag":247,"props":2123,"children":2124},{"class":266},[2125],{"type":176,"value":622},{"type":170,"tag":247,"props":2127,"children":2128},{"class":249,"line":464},[2129],{"type":170,"tag":247,"props":2130,"children":2131},{},[],{"type":170,"tag":247,"props":2133,"children":2134},{"class":249,"line":481},[2135],{"type":170,"tag":247,"props":2136,"children":2137},{"class":582},[2138],{"type":176,"value":2139},"// Sort by title ascending first then sort by category descending\n",{"type":170,"tag":247,"props":2141,"children":2142},{"class":249,"line":502},[2143,2147,2151,2155,2159,2163,2167,2171,2175,2179,2183,2187,2191,2195],{"type":170,"tag":247,"props":2144,"children":2145},{"class":286},[2146],{"type":176,"value":289},{"type":170,"tag":247,"props":2148,"children":2149},{"class":266},[2150],{"type":176,"value":269},{"type":170,"tag":247,"props":2152,"children":2153},{"class":306},[2154],{"type":176,"value":680},{"type":170,"tag":247,"props":2156,"children":2157},{"class":266},[2158],{"type":176,"value":269},{"type":170,"tag":247,"props":2160,"children":2161},{"class":325},[2162],{"type":176,"value":328},{"type":170,"tag":247,"props":2164,"children":2165},{"class":266},[2166],{"type":176,"value":269},{"type":170,"tag":247,"props":2168,"children":2169},{"class":335},[2170],{"type":176,"value":338},{"type":170,"tag":247,"props":2172,"children":2173},{"class":266},[2174],{"type":176,"value":269},{"type":170,"tag":247,"props":2176,"children":2177},{"class":345},[2178],{"type":176,"value":400},{"type":170,"tag":247,"props":2180,"children":2181},{"class":266},[2182],{"type":176,"value":352},{"type":170,"tag":247,"props":2184,"children":2185},{"class":355},[2186],{"type":176,"value":358},{"type":170,"tag":247,"props":2188,"children":2189},{"class":361},[2190],{"type":176,"value":680},{"type":170,"tag":247,"props":2192,"children":2193},{"class":355},[2194],{"type":176,"value":358},{"type":170,"tag":247,"props":2196,"children":2197},{"class":266},[2198],{"type":176,"value":689},{"type":170,"tag":247,"props":2200,"children":2201},{"class":249,"line":511},[2202,2206,2210,2214,2218,2222,2226,2230,2234,2238,2242,2246,2250,2255,2259,2263,2268,2272,2276,2280],{"type":170,"tag":247,"props":2203,"children":2204},{"class":266},[2205],{"type":176,"value":487},{"type":170,"tag":247,"props":2207,"children":2208},{"class":296},[2209],{"type":176,"value":427},{"type":170,"tag":247,"props":2211,"children":2212},{"class":345},[2213],{"type":176,"value":2065},{"type":170,"tag":247,"props":2215,"children":2216},{"class":266},[2217],{"type":176,"value":352},{"type":170,"tag":247,"props":2219,"children":2220},{"class":296},[2221],{"type":176,"value":299},{"type":170,"tag":247,"props":2223,"children":2224},{"class":266},[2225],{"type":176,"value":269},{"type":170,"tag":247,"props":2227,"children":2228},{"class":981},[2229],{"type":176,"value":984},{"type":170,"tag":247,"props":2231,"children":2232},{"class":987},[2233],{"type":176,"value":990},{"type":170,"tag":247,"props":2235,"children":2236},{"class":266},[2237],{"type":176,"value":269},{"type":170,"tag":247,"props":2239,"children":2240},{"class":1329},[2241],{"type":176,"value":2094},{"type":170,"tag":247,"props":2243,"children":2244},{"class":296},[2245],{"type":176,"value":373},{"type":170,"tag":247,"props":2247,"children":2248},{"class":266},[2249],{"type":176,"value":269},{"type":170,"tag":247,"props":2251,"children":2252},{"class":981},[2253],{"type":176,"value":2254},"category",{"type":170,"tag":247,"props":2256,"children":2257},{"class":987},[2258],{"type":176,"value":990},{"type":170,"tag":247,"props":2260,"children":2261},{"class":266},[2262],{"type":176,"value":269},{"type":170,"tag":247,"props":2264,"children":2265},{"class":325},[2266],{"type":176,"value":2267},"-",{"type":170,"tag":247,"props":2269,"children":2270},{"class":1329},[2271],{"type":176,"value":2094},{"type":170,"tag":247,"props":2273,"children":2274},{"class":266},[2275],{"type":176,"value":269},{"type":170,"tag":247,"props":2277,"children":2278},{"class":296},[2279],{"type":176,"value":318},{"type":170,"tag":247,"props":2281,"children":2282},{"class":266},[2283],{"type":176,"value":689},{"type":170,"tag":247,"props":2285,"children":2286},{"class":249,"line":531},[2287,2291,2295,2299],{"type":170,"tag":247,"props":2288,"children":2289},{"class":266},[2290],{"type":176,"value":487},{"type":170,"tag":247,"props":2292,"children":2293},{"class":296},[2294],{"type":176,"value":427},{"type":170,"tag":247,"props":2296,"children":2297},{"class":345},[2298],{"type":176,"value":1361},{"type":170,"tag":247,"props":2300,"children":2301},{"class":266},[2302],{"type":176,"value":622},{"type":170,"tag":247,"props":2304,"children":2305},{"class":249,"line":1374},[2306],{"type":170,"tag":247,"props":2307,"children":2308},{"class":582},[2309],{"type":176,"value":2310},"// OR\n",{"type":170,"tag":247,"props":2312,"children":2313},{"class":249,"line":1383},[2314,2318,2322,2326,2330,2334,2338,2342,2346,2350,2354,2358,2362,2366],{"type":170,"tag":247,"props":2315,"children":2316},{"class":286},[2317],{"type":176,"value":289},{"type":170,"tag":247,"props":2319,"children":2320},{"class":266},[2321],{"type":176,"value":269},{"type":170,"tag":247,"props":2323,"children":2324},{"class":306},[2325],{"type":176,"value":680},{"type":170,"tag":247,"props":2327,"children":2328},{"class":266},[2329],{"type":176,"value":269},{"type":170,"tag":247,"props":2331,"children":2332},{"class":325},[2333],{"type":176,"value":328},{"type":170,"tag":247,"props":2335,"children":2336},{"class":266},[2337],{"type":176,"value":269},{"type":170,"tag":247,"props":2339,"children":2340},{"class":335},[2341],{"type":176,"value":338},{"type":170,"tag":247,"props":2343,"children":2344},{"class":266},[2345],{"type":176,"value":269},{"type":170,"tag":247,"props":2347,"children":2348},{"class":345},[2349],{"type":176,"value":400},{"type":170,"tag":247,"props":2351,"children":2352},{"class":266},[2353],{"type":176,"value":352},{"type":170,"tag":247,"props":2355,"children":2356},{"class":355},[2357],{"type":176,"value":358},{"type":170,"tag":247,"props":2359,"children":2360},{"class":361},[2361],{"type":176,"value":680},{"type":170,"tag":247,"props":2363,"children":2364},{"class":355},[2365],{"type":176,"value":358},{"type":170,"tag":247,"props":2367,"children":2368},{"class":266},[2369],{"type":176,"value":689},{"type":170,"tag":247,"props":2371,"children":2373},{"class":249,"line":2372},12,[2374,2378,2382,2386,2390,2394,2398,2402,2406,2410,2414,2418,2422],{"type":170,"tag":247,"props":2375,"children":2376},{"class":266},[2377],{"type":176,"value":487},{"type":170,"tag":247,"props":2379,"children":2380},{"class":296},[2381],{"type":176,"value":427},{"type":170,"tag":247,"props":2383,"children":2384},{"class":345},[2385],{"type":176,"value":2065},{"type":170,"tag":247,"props":2387,"children":2388},{"class":266},[2389],{"type":176,"value":352},{"type":170,"tag":247,"props":2391,"children":2392},{"class":296},[2393],{"type":176,"value":299},{"type":170,"tag":247,"props":2395,"children":2396},{"class":266},[2397],{"type":176,"value":269},{"type":170,"tag":247,"props":2399,"children":2400},{"class":981},[2401],{"type":176,"value":984},{"type":170,"tag":247,"props":2403,"children":2404},{"class":987},[2405],{"type":176,"value":990},{"type":170,"tag":247,"props":2407,"children":2408},{"class":266},[2409],{"type":176,"value":269},{"type":170,"tag":247,"props":2411,"children":2412},{"class":1329},[2413],{"type":176,"value":2094},{"type":170,"tag":247,"props":2415,"children":2416},{"class":266},[2417],{"type":176,"value":269},{"type":170,"tag":247,"props":2419,"children":2420},{"class":296},[2421],{"type":176,"value":318},{"type":170,"tag":247,"props":2423,"children":2424},{"class":266},[2425],{"type":176,"value":689},{"type":170,"tag":247,"props":2427,"children":2429},{"class":249,"line":2428},13,[2430,2434,2438,2442,2446,2450,2454,2458,2462,2466,2470,2474,2478,2482],{"type":170,"tag":247,"props":2431,"children":2432},{"class":266},[2433],{"type":176,"value":487},{"type":170,"tag":247,"props":2435,"children":2436},{"class":296},[2437],{"type":176,"value":427},{"type":170,"tag":247,"props":2439,"children":2440},{"class":345},[2441],{"type":176,"value":2065},{"type":170,"tag":247,"props":2443,"children":2444},{"class":266},[2445],{"type":176,"value":352},{"type":170,"tag":247,"props":2447,"children":2448},{"class":296},[2449],{"type":176,"value":299},{"type":170,"tag":247,"props":2451,"children":2452},{"class":266},[2453],{"type":176,"value":269},{"type":170,"tag":247,"props":2455,"children":2456},{"class":981},[2457],{"type":176,"value":2254},{"type":170,"tag":247,"props":2459,"children":2460},{"class":987},[2461],{"type":176,"value":990},{"type":170,"tag":247,"props":2463,"children":2464},{"class":266},[2465],{"type":176,"value":269},{"type":170,"tag":247,"props":2467,"children":2468},{"class":325},[2469],{"type":176,"value":2267},{"type":170,"tag":247,"props":2471,"children":2472},{"class":1329},[2473],{"type":176,"value":2094},{"type":170,"tag":247,"props":2475,"children":2476},{"class":266},[2477],{"type":176,"value":269},{"type":170,"tag":247,"props":2479,"children":2480},{"class":296},[2481],{"type":176,"value":318},{"type":170,"tag":247,"props":2483,"children":2484},{"class":266},[2485],{"type":176,"value":689},{"type":170,"tag":247,"props":2487,"children":2489},{"class":249,"line":2488},14,[2490,2494,2498,2502],{"type":170,"tag":247,"props":2491,"children":2492},{"class":266},[2493],{"type":176,"value":487},{"type":170,"tag":247,"props":2495,"children":2496},{"class":296},[2497],{"type":176,"value":427},{"type":170,"tag":247,"props":2499,"children":2500},{"class":345},[2501],{"type":176,"value":1361},{"type":170,"tag":247,"props":2503,"children":2504},{"class":266},[2505],{"type":176,"value":622},{"type":170,"tag":247,"props":2507,"children":2509},{"class":249,"line":2508},15,[2510],{"type":170,"tag":247,"props":2511,"children":2512},{},[],{"type":170,"tag":247,"props":2514,"children":2516},{"class":249,"line":2515},16,[2517],{"type":170,"tag":247,"props":2518,"children":2519},{"class":582},[2520],{"type":176,"value":2521},"// Sort by nested field\n",{"type":170,"tag":247,"props":2523,"children":2525},{"class":249,"line":2524},17,[2526,2530,2534,2538,2542,2546,2550,2554,2558,2562,2566,2570,2574,2578],{"type":170,"tag":247,"props":2527,"children":2528},{"class":286},[2529],{"type":176,"value":289},{"type":170,"tag":247,"props":2531,"children":2532},{"class":266},[2533],{"type":176,"value":269},{"type":170,"tag":247,"props":2535,"children":2536},{"class":306},[2537],{"type":176,"value":680},{"type":170,"tag":247,"props":2539,"children":2540},{"class":266},[2541],{"type":176,"value":269},{"type":170,"tag":247,"props":2543,"children":2544},{"class":325},[2545],{"type":176,"value":328},{"type":170,"tag":247,"props":2547,"children":2548},{"class":266},[2549],{"type":176,"value":269},{"type":170,"tag":247,"props":2551,"children":2552},{"class":335},[2553],{"type":176,"value":338},{"type":170,"tag":247,"props":2555,"children":2556},{"class":266},[2557],{"type":176,"value":269},{"type":170,"tag":247,"props":2559,"children":2560},{"class":345},[2561],{"type":176,"value":400},{"type":170,"tag":247,"props":2563,"children":2564},{"class":266},[2565],{"type":176,"value":352},{"type":170,"tag":247,"props":2567,"children":2568},{"class":355},[2569],{"type":176,"value":358},{"type":170,"tag":247,"props":2571,"children":2572},{"class":361},[2573],{"type":176,"value":680},{"type":170,"tag":247,"props":2575,"children":2576},{"class":355},[2577],{"type":176,"value":358},{"type":170,"tag":247,"props":2579,"children":2580},{"class":266},[2581],{"type":176,"value":689},{"type":170,"tag":247,"props":2583,"children":2585},{"class":249,"line":2584},18,[2586,2590,2594,2598,2602,2606,2610,2614,2619,2623,2627,2631,2635,2639,2643],{"type":170,"tag":247,"props":2587,"children":2588},{"class":266},[2589],{"type":176,"value":487},{"type":170,"tag":247,"props":2591,"children":2592},{"class":296},[2593],{"type":176,"value":427},{"type":170,"tag":247,"props":2595,"children":2596},{"class":345},[2597],{"type":176,"value":2065},{"type":170,"tag":247,"props":2599,"children":2600},{"class":266},[2601],{"type":176,"value":352},{"type":170,"tag":247,"props":2603,"children":2604},{"class":296},[2605],{"type":176,"value":299},{"type":170,"tag":247,"props":2607,"children":2608},{"class":266},[2609],{"type":176,"value":269},{"type":170,"tag":247,"props":2611,"children":2612},{"class":355},[2613],{"type":176,"value":358},{"type":170,"tag":247,"props":2615,"children":2616},{"class":1660},[2617],{"type":176,"value":2618},"category.title",{"type":170,"tag":247,"props":2620,"children":2621},{"class":355},[2622],{"type":176,"value":358},{"type":170,"tag":247,"props":2624,"children":2625},{"class":987},[2626],{"type":176,"value":990},{"type":170,"tag":247,"props":2628,"children":2629},{"class":266},[2630],{"type":176,"value":269},{"type":170,"tag":247,"props":2632,"children":2633},{"class":1329},[2634],{"type":176,"value":2094},{"type":170,"tag":247,"props":2636,"children":2637},{"class":266},[2638],{"type":176,"value":269},{"type":170,"tag":247,"props":2640,"children":2641},{"class":296},[2642],{"type":176,"value":318},{"type":170,"tag":247,"props":2644,"children":2645},{"class":266},[2646],{"type":176,"value":689},{"type":170,"tag":247,"props":2648,"children":2650},{"class":249,"line":2649},19,[2651,2655,2659,2663],{"type":170,"tag":247,"props":2652,"children":2653},{"class":266},[2654],{"type":176,"value":487},{"type":170,"tag":247,"props":2656,"children":2657},{"class":296},[2658],{"type":176,"value":427},{"type":170,"tag":247,"props":2660,"children":2661},{"class":345},[2662],{"type":176,"value":1361},{"type":170,"tag":247,"props":2664,"children":2665},{"class":266},[2666],{"type":176,"value":382},{"type":170,"tag":2668,"props":2669,"children":2670},"blockquote",{},[2671,2701],{"type":170,"tag":178,"props":2672,"children":2673},{},[2674,2679,2681,2686,2688,2693,2695,2700],{"type":170,"tag":226,"props":2675,"children":2676},{},[2677],{"type":176,"value":2678},"sort()",{"type":176,"value":2680}," method does ",{"type":170,"tag":817,"props":2682,"children":2683},{},[2684],{"type":176,"value":2685},"case-sensitive, alphabetical",{"type":176,"value":2687}," sort by default. There is some magical options you can pass to sort options to change sort behavior, like sorting ",{"type":170,"tag":817,"props":2689,"children":2690},{},[2691],{"type":176,"value":2692},"case-insensitive",{"type":176,"value":2694}," or ",{"type":170,"tag":817,"props":2696,"children":2697},{},[2698],{"type":176,"value":2699},"numerically rather than alphabetically",{"type":176,"value":427},{"type":170,"tag":786,"props":2702,"children":2703},{},[2704,2721,2737],{"type":170,"tag":790,"props":2705,"children":2706},{},[2707,2712,2714,2719],{"type":170,"tag":226,"props":2708,"children":2709},{},[2710],{"type":176,"value":2711},"$sensitivity",{"type":176,"value":2713},": Change case sensitivity. Like using ",{"type":170,"tag":226,"props":2715,"children":2716},{},[2717],{"type":176,"value":2718},"$sensitivity: 'base'",{"type":176,"value":2720}," for case-insensitive sort",{"type":170,"tag":790,"props":2722,"children":2723},{},[2724,2729,2731,2736],{"type":170,"tag":226,"props":2725,"children":2726},{},[2727],{"type":176,"value":2728},"$numeric",{"type":176,"value":2730},": Boolean whether numeric collation should be used, such that ",{"type":170,"tag":226,"props":2732,"children":2733},{},[2734],{"type":176,"value":2735},"\"1\" \u003C \"2\" \u003C \"10\"",{"type":176,"value":427},{"type":170,"tag":790,"props":2738,"children":2739},{},[2740,2745],{"type":170,"tag":226,"props":2741,"children":2742},{},[2743],{"type":176,"value":2744},"$caseFirst",{"type":176,"value":2746},": Whether upper case or lower case should sort first.",{"type":170,"tag":178,"props":2748,"children":2749},{},[2750],{"type":176,"value":2751},"For example, to sort a list of people from youngest to oldest:",{"type":170,"tag":236,"props":2753,"children":2755},{"className":570,"code":2754,"language":572,"meta":163},"const people = await queryContent('people')\n  .sort({ age: 1, $numeric: true })\n  .find()\n",[2756],{"type":170,"tag":226,"props":2757,"children":2758},{"__ignoreMap":163},[2759,2819,2899],{"type":170,"tag":247,"props":2760,"children":2761},{"class":249,"line":250},[2762,2766,2770,2775,2779,2783,2787,2791,2795,2799,2803,2807,2811,2815],{"type":170,"tag":247,"props":2763,"children":2764},{"class":286},[2765],{"type":176,"value":289},{"type":170,"tag":247,"props":2767,"children":2768},{"class":266},[2769],{"type":176,"value":269},{"type":170,"tag":247,"props":2771,"children":2772},{"class":306},[2773],{"type":176,"value":2774},"people",{"type":170,"tag":247,"props":2776,"children":2777},{"class":266},[2778],{"type":176,"value":269},{"type":170,"tag":247,"props":2780,"children":2781},{"class":325},[2782],{"type":176,"value":328},{"type":170,"tag":247,"props":2784,"children":2785},{"class":266},[2786],{"type":176,"value":269},{"type":170,"tag":247,"props":2788,"children":2789},{"class":335},[2790],{"type":176,"value":338},{"type":170,"tag":247,"props":2792,"children":2793},{"class":266},[2794],{"type":176,"value":269},{"type":170,"tag":247,"props":2796,"children":2797},{"class":345},[2798],{"type":176,"value":400},{"type":170,"tag":247,"props":2800,"children":2801},{"class":266},[2802],{"type":176,"value":352},{"type":170,"tag":247,"props":2804,"children":2805},{"class":355},[2806],{"type":176,"value":358},{"type":170,"tag":247,"props":2808,"children":2809},{"class":361},[2810],{"type":176,"value":2774},{"type":170,"tag":247,"props":2812,"children":2813},{"class":355},[2814],{"type":176,"value":358},{"type":170,"tag":247,"props":2816,"children":2817},{"class":266},[2818],{"type":176,"value":689},{"type":170,"tag":247,"props":2820,"children":2821},{"class":249,"line":192},[2822,2826,2830,2834,2838,2842,2846,2850,2854,2858,2862,2866,2870,2874,2878,2882,2887,2891,2895],{"type":170,"tag":247,"props":2823,"children":2824},{"class":266},[2825],{"type":176,"value":487},{"type":170,"tag":247,"props":2827,"children":2828},{"class":296},[2829],{"type":176,"value":427},{"type":170,"tag":247,"props":2831,"children":2832},{"class":345},[2833],{"type":176,"value":2065},{"type":170,"tag":247,"props":2835,"children":2836},{"class":266},[2837],{"type":176,"value":352},{"type":170,"tag":247,"props":2839,"children":2840},{"class":296},[2841],{"type":176,"value":299},{"type":170,"tag":247,"props":2843,"children":2844},{"class":266},[2845],{"type":176,"value":269},{"type":170,"tag":247,"props":2847,"children":2848},{"class":981},[2849],{"type":176,"value":1298},{"type":170,"tag":247,"props":2851,"children":2852},{"class":987},[2853],{"type":176,"value":990},{"type":170,"tag":247,"props":2855,"children":2856},{"class":266},[2857],{"type":176,"value":269},{"type":170,"tag":247,"props":2859,"children":2860},{"class":1329},[2861],{"type":176,"value":2094},{"type":170,"tag":247,"props":2863,"children":2864},{"class":296},[2865],{"type":176,"value":373},{"type":170,"tag":247,"props":2867,"children":2868},{"class":266},[2869],{"type":176,"value":269},{"type":170,"tag":247,"props":2871,"children":2872},{"class":981},[2873],{"type":176,"value":2728},{"type":170,"tag":247,"props":2875,"children":2876},{"class":987},[2877],{"type":176,"value":990},{"type":170,"tag":247,"props":2879,"children":2880},{"class":266},[2881],{"type":176,"value":269},{"type":170,"tag":247,"props":2883,"children":2885},{"class":2884},"ct-432929",[2886],{"type":176,"value":185},{"type":170,"tag":247,"props":2888,"children":2889},{"class":266},[2890],{"type":176,"value":269},{"type":170,"tag":247,"props":2892,"children":2893},{"class":296},[2894],{"type":176,"value":318},{"type":170,"tag":247,"props":2896,"children":2897},{"class":266},[2898],{"type":176,"value":689},{"type":170,"tag":247,"props":2900,"children":2901},{"class":249,"line":440},[2902,2906,2910,2914],{"type":170,"tag":247,"props":2903,"children":2904},{"class":266},[2905],{"type":176,"value":487},{"type":170,"tag":247,"props":2907,"children":2908},{"class":296},[2909],{"type":176,"value":427},{"type":170,"tag":247,"props":2911,"children":2912},{"class":345},[2913],{"type":176,"value":1361},{"type":170,"tag":247,"props":2915,"children":2916},{"class":266},[2917],{"type":176,"value":382},{"type":170,"tag":178,"props":2919,"children":2920},{},[2921,2923,2930],{"type":176,"value":2922},"These options are given to ",{"type":170,"tag":219,"props":2924,"children":2927},{"href":2925,"rel":2926},"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Collator/Collator#parameters",[223],[2928],{"type":176,"value":2929},"Intl.Collator()",{"type":176,"value":427},{"type":170,"tag":207,"props":2932,"children":2934},{"id":2933},"limitcount",[2935],{"type":170,"tag":226,"props":2936,"children":2937},{},[2938],{"type":176,"value":2939},"limit(count)",{"type":170,"tag":786,"props":2941,"children":2942},{},[2943],{"type":170,"tag":790,"props":2944,"children":2945},{},[2946,2951],{"type":170,"tag":226,"props":2947,"children":2948},{},[2949],{"type":176,"value":2950},"count",{"type":170,"tag":786,"props":2952,"children":2953},{},[2954,2963],{"type":170,"tag":790,"props":2955,"children":2956},{},[2957,2958],{"type":176,"value":807},{"type":170,"tag":226,"props":2959,"children":2960},{},[2961],{"type":176,"value":2962},"number",{"type":170,"tag":790,"props":2964,"children":2965},{},[2966],{"type":170,"tag":817,"props":2967,"children":2968},{},[2969],{"type":176,"value":821},{"type":170,"tag":178,"props":2971,"children":2972},{},[2973],{"type":176,"value":2974},"Limit number of results.",{"type":170,"tag":236,"props":2976,"children":2978},{"className":570,"code":2977,"language":572,"meta":163},"// fetch only 5 articles\nconst articles = await queryContent('articles').limit(5).find()\n",[2979],{"type":170,"tag":226,"props":2980,"children":2981},{"__ignoreMap":163},[2982,2990],{"type":170,"tag":247,"props":2983,"children":2984},{"class":249,"line":250},[2985],{"type":170,"tag":247,"props":2986,"children":2987},{"class":582},[2988],{"type":176,"value":2989},"// fetch only 5 articles\n",{"type":170,"tag":247,"props":2991,"children":2992},{"class":249,"line":192},[2993,2997,3001,3005,3009,3013,3017,3021,3025,3029,3033,3037,3041,3045,3049,3053,3058,3062,3067,3071,3075,3079],{"type":170,"tag":247,"props":2994,"children":2995},{"class":286},[2996],{"type":176,"value":289},{"type":170,"tag":247,"props":2998,"children":2999},{"class":266},[3000],{"type":176,"value":269},{"type":170,"tag":247,"props":3002,"children":3003},{"class":306},[3004],{"type":176,"value":680},{"type":170,"tag":247,"props":3006,"children":3007},{"class":266},[3008],{"type":176,"value":269},{"type":170,"tag":247,"props":3010,"children":3011},{"class":325},[3012],{"type":176,"value":328},{"type":170,"tag":247,"props":3014,"children":3015},{"class":266},[3016],{"type":176,"value":269},{"type":170,"tag":247,"props":3018,"children":3019},{"class":335},[3020],{"type":176,"value":338},{"type":170,"tag":247,"props":3022,"children":3023},{"class":266},[3024],{"type":176,"value":269},{"type":170,"tag":247,"props":3026,"children":3027},{"class":345},[3028],{"type":176,"value":400},{"type":170,"tag":247,"props":3030,"children":3031},{"class":266},[3032],{"type":176,"value":352},{"type":170,"tag":247,"props":3034,"children":3035},{"class":355},[3036],{"type":176,"value":358},{"type":170,"tag":247,"props":3038,"children":3039},{"class":361},[3040],{"type":176,"value":680},{"type":170,"tag":247,"props":3042,"children":3043},{"class":355},[3044],{"type":176,"value":358},{"type":170,"tag":247,"props":3046,"children":3047},{"class":266},[3048],{"type":176,"value":422},{"type":170,"tag":247,"props":3050,"children":3051},{"class":296},[3052],{"type":176,"value":427},{"type":170,"tag":247,"props":3054,"children":3055},{"class":345},[3056],{"type":176,"value":3057},"limit",{"type":170,"tag":247,"props":3059,"children":3060},{"class":266},[3061],{"type":176,"value":352},{"type":170,"tag":247,"props":3063,"children":3064},{"class":1329},[3065],{"type":176,"value":3066},"5",{"type":170,"tag":247,"props":3068,"children":3069},{"class":266},[3070],{"type":176,"value":422},{"type":170,"tag":247,"props":3072,"children":3073},{"class":296},[3074],{"type":176,"value":427},{"type":170,"tag":247,"props":3076,"children":3077},{"class":345},[3078],{"type":176,"value":1361},{"type":170,"tag":247,"props":3080,"children":3081},{"class":266},[3082],{"type":176,"value":382},{"type":170,"tag":207,"props":3084,"children":3086},{"id":3085},"skipcount",[3087],{"type":170,"tag":226,"props":3088,"children":3089},{},[3090],{"type":176,"value":3091},"skip(count)",{"type":170,"tag":786,"props":3093,"children":3094},{},[3095],{"type":170,"tag":790,"props":3096,"children":3097},{},[3098,3102],{"type":170,"tag":226,"props":3099,"children":3100},{},[3101],{"type":176,"value":2950},{"type":170,"tag":786,"props":3103,"children":3104},{},[3105,3113],{"type":170,"tag":790,"props":3106,"children":3107},{},[3108,3109],{"type":176,"value":807},{"type":170,"tag":226,"props":3110,"children":3111},{},[3112],{"type":176,"value":2962},{"type":170,"tag":790,"props":3114,"children":3115},{},[3116],{"type":170,"tag":817,"props":3117,"children":3118},{},[3119],{"type":176,"value":821},{"type":170,"tag":178,"props":3121,"children":3122},{},[3123],{"type":176,"value":3124},"Skip results.",{"type":170,"tag":236,"props":3126,"children":3128},{"className":570,"code":3127,"language":572,"meta":163},"// fetch the next 5 articles\nconst articles = await queryContent('articles')\n    .skip(5)\n    .limit(5)\n    .find()\n",[3129],{"type":170,"tag":226,"props":3130,"children":3131},{"__ignoreMap":163},[3132,3140,3199,3228,3255],{"type":170,"tag":247,"props":3133,"children":3134},{"class":249,"line":250},[3135],{"type":170,"tag":247,"props":3136,"children":3137},{"class":582},[3138],{"type":176,"value":3139},"// fetch the next 5 articles\n",{"type":170,"tag":247,"props":3141,"children":3142},{"class":249,"line":192},[3143,3147,3151,3155,3159,3163,3167,3171,3175,3179,3183,3187,3191,3195],{"type":170,"tag":247,"props":3144,"children":3145},{"class":286},[3146],{"type":176,"value":289},{"type":170,"tag":247,"props":3148,"children":3149},{"class":266},[3150],{"type":176,"value":269},{"type":170,"tag":247,"props":3152,"children":3153},{"class":306},[3154],{"type":176,"value":680},{"type":170,"tag":247,"props":3156,"children":3157},{"class":266},[3158],{"type":176,"value":269},{"type":170,"tag":247,"props":3160,"children":3161},{"class":325},[3162],{"type":176,"value":328},{"type":170,"tag":247,"props":3164,"children":3165},{"class":266},[3166],{"type":176,"value":269},{"type":170,"tag":247,"props":3168,"children":3169},{"class":335},[3170],{"type":176,"value":338},{"type":170,"tag":247,"props":3172,"children":3173},{"class":266},[3174],{"type":176,"value":269},{"type":170,"tag":247,"props":3176,"children":3177},{"class":345},[3178],{"type":176,"value":400},{"type":170,"tag":247,"props":3180,"children":3181},{"class":266},[3182],{"type":176,"value":352},{"type":170,"tag":247,"props":3184,"children":3185},{"class":355},[3186],{"type":176,"value":358},{"type":170,"tag":247,"props":3188,"children":3189},{"class":361},[3190],{"type":176,"value":680},{"type":170,"tag":247,"props":3192,"children":3193},{"class":355},[3194],{"type":176,"value":358},{"type":170,"tag":247,"props":3196,"children":3197},{"class":266},[3198],{"type":176,"value":689},{"type":170,"tag":247,"props":3200,"children":3201},{"class":249,"line":440},[3202,3207,3211,3216,3220,3224],{"type":170,"tag":247,"props":3203,"children":3204},{"class":266},[3205],{"type":176,"value":3206},"    ",{"type":170,"tag":247,"props":3208,"children":3209},{"class":296},[3210],{"type":176,"value":427},{"type":170,"tag":247,"props":3212,"children":3213},{"class":345},[3214],{"type":176,"value":3215},"skip",{"type":170,"tag":247,"props":3217,"children":3218},{"class":266},[3219],{"type":176,"value":352},{"type":170,"tag":247,"props":3221,"children":3222},{"class":1329},[3223],{"type":176,"value":3066},{"type":170,"tag":247,"props":3225,"children":3226},{"class":266},[3227],{"type":176,"value":689},{"type":170,"tag":247,"props":3229,"children":3230},{"class":249,"line":457},[3231,3235,3239,3243,3247,3251],{"type":170,"tag":247,"props":3232,"children":3233},{"class":266},[3234],{"type":176,"value":3206},{"type":170,"tag":247,"props":3236,"children":3237},{"class":296},[3238],{"type":176,"value":427},{"type":170,"tag":247,"props":3240,"children":3241},{"class":345},[3242],{"type":176,"value":3057},{"type":170,"tag":247,"props":3244,"children":3245},{"class":266},[3246],{"type":176,"value":352},{"type":170,"tag":247,"props":3248,"children":3249},{"class":1329},[3250],{"type":176,"value":3066},{"type":170,"tag":247,"props":3252,"children":3253},{"class":266},[3254],{"type":176,"value":689},{"type":170,"tag":247,"props":3256,"children":3257},{"class":249,"line":464},[3258,3262,3266,3270],{"type":170,"tag":247,"props":3259,"children":3260},{"class":266},[3261],{"type":176,"value":3206},{"type":170,"tag":247,"props":3263,"children":3264},{"class":296},[3265],{"type":176,"value":427},{"type":170,"tag":247,"props":3267,"children":3268},{"class":345},[3269],{"type":176,"value":1361},{"type":170,"tag":247,"props":3271,"children":3272},{"class":266},[3273],{"type":176,"value":382},{"type":170,"tag":207,"props":3275,"children":3277},{"id":3276},"withoutkeys",[3278],{"type":170,"tag":226,"props":3279,"children":3280},{},[3281],{"type":176,"value":3282},"without(keys)",{"type":170,"tag":786,"props":3284,"children":3285},{},[3286],{"type":170,"tag":790,"props":3287,"children":3288},{},[3289,3294],{"type":170,"tag":226,"props":3290,"children":3291},{},[3292],{"type":176,"value":3293},"keys",{"type":170,"tag":786,"props":3295,"children":3296},{},[3297,3312],{"type":170,"tag":790,"props":3298,"children":3299},{},[3300,3301,3306,3307],{"type":176,"value":807},{"type":170,"tag":226,"props":3302,"children":3303},{},[3304],{"type":176,"value":3305},"string[]",{"type":176,"value":2694},{"type":170,"tag":226,"props":3308,"children":3309},{},[3310],{"type":176,"value":3311},"string",{"type":170,"tag":790,"props":3313,"children":3314},{},[3315],{"type":170,"tag":817,"props":3316,"children":3317},{},[3318],{"type":176,"value":821},{"type":170,"tag":178,"props":3320,"children":3321},{},[3322],{"type":176,"value":3323},"Remove a subset of fields.",{"type":170,"tag":236,"props":3325,"children":3327},{"className":570,"code":3326,"language":572,"meta":163},"const articles = await queryContent('articles').without('unused-key').find()\n\nconst articles = await queryContent('articles').without(['unused-key', 'another-unused-key']).find()\n",[3328],{"type":170,"tag":226,"props":3329,"children":3330},{"__ignoreMap":163},[3331,3432,3438],{"type":170,"tag":247,"props":3332,"children":3333},{"class":249,"line":250},[3334,3338,3342,3346,3350,3354,3358,3362,3366,3370,3374,3378,3382,3386,3390,3394,3399,3403,3407,3412,3416,3420,3424,3428],{"type":170,"tag":247,"props":3335,"children":3336},{"class":286},[3337],{"type":176,"value":289},{"type":170,"tag":247,"props":3339,"children":3340},{"class":266},[3341],{"type":176,"value":269},{"type":170,"tag":247,"props":3343,"children":3344},{"class":306},[3345],{"type":176,"value":680},{"type":170,"tag":247,"props":3347,"children":3348},{"class":266},[3349],{"type":176,"value":269},{"type":170,"tag":247,"props":3351,"children":3352},{"class":325},[3353],{"type":176,"value":328},{"type":170,"tag":247,"props":3355,"children":3356},{"class":266},[3357],{"type":176,"value":269},{"type":170,"tag":247,"props":3359,"children":3360},{"class":335},[3361],{"type":176,"value":338},{"type":170,"tag":247,"props":3363,"children":3364},{"class":266},[3365],{"type":176,"value":269},{"type":170,"tag":247,"props":3367,"children":3368},{"class":345},[3369],{"type":176,"value":400},{"type":170,"tag":247,"props":3371,"children":3372},{"class":266},[3373],{"type":176,"value":352},{"type":170,"tag":247,"props":3375,"children":3376},{"class":355},[3377],{"type":176,"value":358},{"type":170,"tag":247,"props":3379,"children":3380},{"class":361},[3381],{"type":176,"value":680},{"type":170,"tag":247,"props":3383,"children":3384},{"class":355},[3385],{"type":176,"value":358},{"type":170,"tag":247,"props":3387,"children":3388},{"class":266},[3389],{"type":176,"value":422},{"type":170,"tag":247,"props":3391,"children":3392},{"class":296},[3393],{"type":176,"value":427},{"type":170,"tag":247,"props":3395,"children":3396},{"class":345},[3397],{"type":176,"value":3398},"without",{"type":170,"tag":247,"props":3400,"children":3401},{"class":266},[3402],{"type":176,"value":352},{"type":170,"tag":247,"props":3404,"children":3405},{"class":355},[3406],{"type":176,"value":358},{"type":170,"tag":247,"props":3408,"children":3409},{"class":361},[3410],{"type":176,"value":3411},"unused-key",{"type":170,"tag":247,"props":3413,"children":3414},{"class":355},[3415],{"type":176,"value":358},{"type":170,"tag":247,"props":3417,"children":3418},{"class":266},[3419],{"type":176,"value":422},{"type":170,"tag":247,"props":3421,"children":3422},{"class":296},[3423],{"type":176,"value":427},{"type":170,"tag":247,"props":3425,"children":3426},{"class":345},[3427],{"type":176,"value":1361},{"type":170,"tag":247,"props":3429,"children":3430},{"class":266},[3431],{"type":176,"value":622},{"type":170,"tag":247,"props":3433,"children":3434},{"class":249,"line":192},[3435],{"type":170,"tag":247,"props":3436,"children":3437},{},[],{"type":170,"tag":247,"props":3439,"children":3440},{"class":249,"line":440},[3441,3445,3449,3453,3457,3461,3465,3469,3473,3477,3481,3485,3489,3493,3497,3501,3505,3510,3514,3518,3522,3526,3530,3534,3539,3543,3548,3552,3556],{"type":170,"tag":247,"props":3442,"children":3443},{"class":286},[3444],{"type":176,"value":289},{"type":170,"tag":247,"props":3446,"children":3447},{"class":266},[3448],{"type":176,"value":269},{"type":170,"tag":247,"props":3450,"children":3451},{"class":306},[3452],{"type":176,"value":680},{"type":170,"tag":247,"props":3454,"children":3455},{"class":266},[3456],{"type":176,"value":269},{"type":170,"tag":247,"props":3458,"children":3459},{"class":325},[3460],{"type":176,"value":328},{"type":170,"tag":247,"props":3462,"children":3463},{"class":266},[3464],{"type":176,"value":269},{"type":170,"tag":247,"props":3466,"children":3467},{"class":335},[3468],{"type":176,"value":338},{"type":170,"tag":247,"props":3470,"children":3471},{"class":266},[3472],{"type":176,"value":269},{"type":170,"tag":247,"props":3474,"children":3475},{"class":345},[3476],{"type":176,"value":400},{"type":170,"tag":247,"props":3478,"children":3479},{"class":266},[3480],{"type":176,"value":352},{"type":170,"tag":247,"props":3482,"children":3483},{"class":355},[3484],{"type":176,"value":358},{"type":170,"tag":247,"props":3486,"children":3487},{"class":361},[3488],{"type":176,"value":680},{"type":170,"tag":247,"props":3490,"children":3491},{"class":355},[3492],{"type":176,"value":358},{"type":170,"tag":247,"props":3494,"children":3495},{"class":266},[3496],{"type":176,"value":422},{"type":170,"tag":247,"props":3498,"children":3499},{"class":296},[3500],{"type":176,"value":427},{"type":170,"tag":247,"props":3502,"children":3503},{"class":345},[3504],{"type":176,"value":3398},{"type":170,"tag":247,"props":3506,"children":3507},{"class":266},[3508],{"type":176,"value":3509},"([",{"type":170,"tag":247,"props":3511,"children":3512},{"class":355},[3513],{"type":176,"value":358},{"type":170,"tag":247,"props":3515,"children":3516},{"class":361},[3517],{"type":176,"value":3411},{"type":170,"tag":247,"props":3519,"children":3520},{"class":355},[3521],{"type":176,"value":358},{"type":170,"tag":247,"props":3523,"children":3524},{"class":296},[3525],{"type":176,"value":373},{"type":170,"tag":247,"props":3527,"children":3528},{"class":266},[3529],{"type":176,"value":269},{"type":170,"tag":247,"props":3531,"children":3532},{"class":355},[3533],{"type":176,"value":358},{"type":170,"tag":247,"props":3535,"children":3536},{"class":361},[3537],{"type":176,"value":3538},"another-unused-key",{"type":170,"tag":247,"props":3540,"children":3541},{"class":355},[3542],{"type":176,"value":358},{"type":170,"tag":247,"props":3544,"children":3545},{"class":266},[3546],{"type":176,"value":3547},"])",{"type":170,"tag":247,"props":3549,"children":3550},{"class":296},[3551],{"type":176,"value":427},{"type":170,"tag":247,"props":3553,"children":3554},{"class":345},[3555],{"type":176,"value":1361},{"type":170,"tag":247,"props":3557,"children":3558},{"class":266},[3559],{"type":176,"value":382},{"type":170,"tag":207,"props":3561,"children":3563},{"id":3562},"onlykeys",[3564],{"type":170,"tag":226,"props":3565,"children":3566},{},[3567],{"type":176,"value":3568},"only(keys)",{"type":170,"tag":786,"props":3570,"children":3571},{},[3572],{"type":170,"tag":790,"props":3573,"children":3574},{},[3575,3579],{"type":170,"tag":226,"props":3576,"children":3577},{},[3578],{"type":176,"value":3293},{"type":170,"tag":786,"props":3580,"children":3581},{},[3582,3595],{"type":170,"tag":790,"props":3583,"children":3584},{},[3585,3586,3590,3591],{"type":176,"value":807},{"type":170,"tag":226,"props":3587,"children":3588},{},[3589],{"type":176,"value":3305},{"type":176,"value":2694},{"type":170,"tag":226,"props":3592,"children":3593},{},[3594],{"type":176,"value":3311},{"type":170,"tag":790,"props":3596,"children":3597},{},[3598],{"type":170,"tag":817,"props":3599,"children":3600},{},[3601],{"type":176,"value":821},{"type":170,"tag":178,"props":3603,"children":3604},{},[3605],{"type":176,"value":3606},"Select a subset of fields.",{"type":170,"tag":236,"props":3608,"children":3610},{"className":570,"code":3609,"language":572,"meta":163},"const articles = await queryContent('articles').only('id').find()\n\nconst articles = await queryContent('articles').only(['id', 'title']).find()\n",[3611],{"type":170,"tag":226,"props":3612,"children":3613},{"__ignoreMap":163},[3614,3715,3721],{"type":170,"tag":247,"props":3615,"children":3616},{"class":249,"line":250},[3617,3621,3625,3629,3633,3637,3641,3645,3649,3653,3657,3661,3665,3669,3673,3677,3682,3686,3690,3695,3699,3703,3707,3711],{"type":170,"tag":247,"props":3618,"children":3619},{"class":286},[3620],{"type":176,"value":289},{"type":170,"tag":247,"props":3622,"children":3623},{"class":266},[3624],{"type":176,"value":269},{"type":170,"tag":247,"props":3626,"children":3627},{"class":306},[3628],{"type":176,"value":680},{"type":170,"tag":247,"props":3630,"children":3631},{"class":266},[3632],{"type":176,"value":269},{"type":170,"tag":247,"props":3634,"children":3635},{"class":325},[3636],{"type":176,"value":328},{"type":170,"tag":247,"props":3638,"children":3639},{"class":266},[3640],{"type":176,"value":269},{"type":170,"tag":247,"props":3642,"children":3643},{"class":335},[3644],{"type":176,"value":338},{"type":170,"tag":247,"props":3646,"children":3647},{"class":266},[3648],{"type":176,"value":269},{"type":170,"tag":247,"props":3650,"children":3651},{"class":345},[3652],{"type":176,"value":400},{"type":170,"tag":247,"props":3654,"children":3655},{"class":266},[3656],{"type":176,"value":352},{"type":170,"tag":247,"props":3658,"children":3659},{"class":355},[3660],{"type":176,"value":358},{"type":170,"tag":247,"props":3662,"children":3663},{"class":361},[3664],{"type":176,"value":680},{"type":170,"tag":247,"props":3666,"children":3667},{"class":355},[3668],{"type":176,"value":358},{"type":170,"tag":247,"props":3670,"children":3671},{"class":266},[3672],{"type":176,"value":422},{"type":170,"tag":247,"props":3674,"children":3675},{"class":296},[3676],{"type":176,"value":427},{"type":170,"tag":247,"props":3678,"children":3679},{"class":345},[3680],{"type":176,"value":3681},"only",{"type":170,"tag":247,"props":3683,"children":3684},{"class":266},[3685],{"type":176,"value":352},{"type":170,"tag":247,"props":3687,"children":3688},{"class":355},[3689],{"type":176,"value":358},{"type":170,"tag":247,"props":3691,"children":3692},{"class":361},[3693],{"type":176,"value":3694},"id",{"type":170,"tag":247,"props":3696,"children":3697},{"class":355},[3698],{"type":176,"value":358},{"type":170,"tag":247,"props":3700,"children":3701},{"class":266},[3702],{"type":176,"value":422},{"type":170,"tag":247,"props":3704,"children":3705},{"class":296},[3706],{"type":176,"value":427},{"type":170,"tag":247,"props":3708,"children":3709},{"class":345},[3710],{"type":176,"value":1361},{"type":170,"tag":247,"props":3712,"children":3713},{"class":266},[3714],{"type":176,"value":622},{"type":170,"tag":247,"props":3716,"children":3717},{"class":249,"line":192},[3718],{"type":170,"tag":247,"props":3719,"children":3720},{},[],{"type":170,"tag":247,"props":3722,"children":3723},{"class":249,"line":440},[3724,3728,3732,3736,3740,3744,3748,3752,3756,3760,3764,3768,3772,3776,3780,3784,3788,3792,3796,3800,3804,3808,3812,3816,3820,3824,3828,3832,3836],{"type":170,"tag":247,"props":3725,"children":3726},{"class":286},[3727],{"type":176,"value":289},{"type":170,"tag":247,"props":3729,"children":3730},{"class":266},[3731],{"type":176,"value":269},{"type":170,"tag":247,"props":3733,"children":3734},{"class":306},[3735],{"type":176,"value":680},{"type":170,"tag":247,"props":3737,"children":3738},{"class":266},[3739],{"type":176,"value":269},{"type":170,"tag":247,"props":3741,"children":3742},{"class":325},[3743],{"type":176,"value":328},{"type":170,"tag":247,"props":3745,"children":3746},{"class":266},[3747],{"type":176,"value":269},{"type":170,"tag":247,"props":3749,"children":3750},{"class":335},[3751],{"type":176,"value":338},{"type":170,"tag":247,"props":3753,"children":3754},{"class":266},[3755],{"type":176,"value":269},{"type":170,"tag":247,"props":3757,"children":3758},{"class":345},[3759],{"type":176,"value":400},{"type":170,"tag":247,"props":3761,"children":3762},{"class":266},[3763],{"type":176,"value":352},{"type":170,"tag":247,"props":3765,"children":3766},{"class":355},[3767],{"type":176,"value":358},{"type":170,"tag":247,"props":3769,"children":3770},{"class":361},[3771],{"type":176,"value":680},{"type":170,"tag":247,"props":3773,"children":3774},{"class":355},[3775],{"type":176,"value":358},{"type":170,"tag":247,"props":3777,"children":3778},{"class":266},[3779],{"type":176,"value":422},{"type":170,"tag":247,"props":3781,"children":3782},{"class":296},[3783],{"type":176,"value":427},{"type":170,"tag":247,"props":3785,"children":3786},{"class":345},[3787],{"type":176,"value":3681},{"type":170,"tag":247,"props":3789,"children":3790},{"class":266},[3791],{"type":176,"value":3509},{"type":170,"tag":247,"props":3793,"children":3794},{"class":355},[3795],{"type":176,"value":358},{"type":170,"tag":247,"props":3797,"children":3798},{"class":361},[3799],{"type":176,"value":3694},{"type":170,"tag":247,"props":3801,"children":3802},{"class":355},[3803],{"type":176,"value":358},{"type":170,"tag":247,"props":3805,"children":3806},{"class":296},[3807],{"type":176,"value":373},{"type":170,"tag":247,"props":3809,"children":3810},{"class":266},[3811],{"type":176,"value":269},{"type":170,"tag":247,"props":3813,"children":3814},{"class":355},[3815],{"type":176,"value":358},{"type":170,"tag":247,"props":3817,"children":3818},{"class":361},[3819],{"type":176,"value":984},{"type":170,"tag":247,"props":3821,"children":3822},{"class":355},[3823],{"type":176,"value":358},{"type":170,"tag":247,"props":3825,"children":3826},{"class":266},[3827],{"type":176,"value":3547},{"type":170,"tag":247,"props":3829,"children":3830},{"class":296},[3831],{"type":176,"value":427},{"type":170,"tag":247,"props":3833,"children":3834},{"class":345},[3835],{"type":176,"value":1361},{"type":170,"tag":247,"props":3837,"children":3838},{"class":266},[3839],{"type":176,"value":382},{"type":170,"tag":207,"props":3841,"children":3842},{"id":1361},[3843],{"type":170,"tag":226,"props":3844,"children":3845},{},[3846],{"type":176,"value":3847},"find()",{"type":170,"tag":178,"props":3849,"children":3850},{},[3851],{"type":176,"value":3852},"Fetch and return the list of matched contents based on the query.",{"type":170,"tag":236,"props":3854,"children":3856},{"className":570,"code":3855,"language":572,"meta":163},"// List of articles\nconst articles = await queryContent('articles').find()\n",[3857],{"type":170,"tag":226,"props":3858,"children":3859},{"__ignoreMap":163},[3860,3868],{"type":170,"tag":247,"props":3861,"children":3862},{"class":249,"line":250},[3863],{"type":170,"tag":247,"props":3864,"children":3865},{"class":582},[3866],{"type":176,"value":3867},"// List of articles\n",{"type":170,"tag":247,"props":3869,"children":3870},{"class":249,"line":192},[3871,3875,3879,3883,3887,3891,3895,3899,3903,3907,3911,3915,3919,3923,3927,3931,3935],{"type":170,"tag":247,"props":3872,"children":3873},{"class":286},[3874],{"type":176,"value":289},{"type":170,"tag":247,"props":3876,"children":3877},{"class":266},[3878],{"type":176,"value":269},{"type":170,"tag":247,"props":3880,"children":3881},{"class":306},[3882],{"type":176,"value":680},{"type":170,"tag":247,"props":3884,"children":3885},{"class":266},[3886],{"type":176,"value":269},{"type":170,"tag":247,"props":3888,"children":3889},{"class":325},[3890],{"type":176,"value":328},{"type":170,"tag":247,"props":3892,"children":3893},{"class":266},[3894],{"type":176,"value":269},{"type":170,"tag":247,"props":3896,"children":3897},{"class":335},[3898],{"type":176,"value":338},{"type":170,"tag":247,"props":3900,"children":3901},{"class":266},[3902],{"type":176,"value":269},{"type":170,"tag":247,"props":3904,"children":3905},{"class":345},[3906],{"type":176,"value":400},{"type":170,"tag":247,"props":3908,"children":3909},{"class":266},[3910],{"type":176,"value":352},{"type":170,"tag":247,"props":3912,"children":3913},{"class":355},[3914],{"type":176,"value":358},{"type":170,"tag":247,"props":3916,"children":3917},{"class":361},[3918],{"type":176,"value":680},{"type":170,"tag":247,"props":3920,"children":3921},{"class":355},[3922],{"type":176,"value":358},{"type":170,"tag":247,"props":3924,"children":3925},{"class":266},[3926],{"type":176,"value":422},{"type":170,"tag":247,"props":3928,"children":3929},{"class":296},[3930],{"type":176,"value":427},{"type":170,"tag":247,"props":3932,"children":3933},{"class":345},[3934],{"type":176,"value":1361},{"type":170,"tag":247,"props":3936,"children":3937},{"class":266},[3938],{"type":176,"value":382},{"type":170,"tag":207,"props":3940,"children":3942},{"id":3941},"findone",[3943],{"type":170,"tag":226,"props":3944,"children":3945},{},[3946],{"type":176,"value":3947},"findOne()",{"type":170,"tag":178,"props":3949,"children":3950},{},[3951],{"type":176,"value":3952},"Fetch the first match of content.",{"type":170,"tag":236,"props":3954,"children":3956},{"className":570,"code":3955,"language":572,"meta":163},"const firstArticle = await queryContent('articles').findOne()\n",[3957],{"type":170,"tag":226,"props":3958,"children":3959},{"__ignoreMap":163},[3960],{"type":170,"tag":247,"props":3961,"children":3962},{"class":249,"line":250},[3963,3967,3971,3976,3980,3984,3988,3992,3996,4000,4004,4008,4012,4016,4020,4024,4028],{"type":170,"tag":247,"props":3964,"children":3965},{"class":286},[3966],{"type":176,"value":289},{"type":170,"tag":247,"props":3968,"children":3969},{"class":266},[3970],{"type":176,"value":269},{"type":170,"tag":247,"props":3972,"children":3973},{"class":306},[3974],{"type":176,"value":3975},"firstArticle",{"type":170,"tag":247,"props":3977,"children":3978},{"class":266},[3979],{"type":176,"value":269},{"type":170,"tag":247,"props":3981,"children":3982},{"class":325},[3983],{"type":176,"value":328},{"type":170,"tag":247,"props":3985,"children":3986},{"class":266},[3987],{"type":176,"value":269},{"type":170,"tag":247,"props":3989,"children":3990},{"class":335},[3991],{"type":176,"value":338},{"type":170,"tag":247,"props":3993,"children":3994},{"class":266},[3995],{"type":176,"value":269},{"type":170,"tag":247,"props":3997,"children":3998},{"class":345},[3999],{"type":176,"value":400},{"type":170,"tag":247,"props":4001,"children":4002},{"class":266},[4003],{"type":176,"value":352},{"type":170,"tag":247,"props":4005,"children":4006},{"class":355},[4007],{"type":176,"value":358},{"type":170,"tag":247,"props":4009,"children":4010},{"class":361},[4011],{"type":176,"value":680},{"type":170,"tag":247,"props":4013,"children":4014},{"class":355},[4015],{"type":176,"value":358},{"type":170,"tag":247,"props":4017,"children":4018},{"class":266},[4019],{"type":176,"value":422},{"type":170,"tag":247,"props":4021,"children":4022},{"class":296},[4023],{"type":176,"value":427},{"type":170,"tag":247,"props":4025,"children":4026},{"class":345},[4027],{"type":176,"value":432},{"type":170,"tag":247,"props":4029,"children":4030},{"class":266},[4031],{"type":176,"value":382},{"type":170,"tag":207,"props":4033,"children":4035},{"id":4034},"findsurroundpath-options",[4036],{"type":170,"tag":226,"props":4037,"children":4038},{},[4039],{"type":176,"value":4040},"findSurround(path, options)",{"type":170,"tag":786,"props":4042,"children":4043},{},[4044,4070],{"type":170,"tag":790,"props":4045,"children":4046},{},[4047,4052],{"type":170,"tag":226,"props":4048,"children":4049},{},[4050],{"type":176,"value":4051},"path",{"type":170,"tag":786,"props":4053,"children":4054},{},[4055,4063],{"type":170,"tag":790,"props":4056,"children":4057},{},[4058,4059],{"type":176,"value":807},{"type":170,"tag":226,"props":4060,"children":4061},{},[4062],{"type":176,"value":3311},{"type":170,"tag":790,"props":4064,"children":4065},{},[4066],{"type":170,"tag":817,"props":4067,"children":4068},{},[4069],{"type":176,"value":821},{"type":170,"tag":790,"props":4071,"children":4072},{},[4073,4077],{"type":170,"tag":226,"props":4074,"children":4075},{},[4076],{"type":176,"value":1951},{"type":170,"tag":786,"props":4078,"children":4079},{},[4080,4089],{"type":170,"tag":790,"props":4081,"children":4082},{},[4083,4084],{"type":176,"value":807},{"type":170,"tag":226,"props":4085,"children":4086},{},[4087],{"type":176,"value":4088},"{ before: number, after: number }",{"type":170,"tag":790,"props":4090,"children":4091},{},[4092,4094],{"type":176,"value":4093},"Default: ",{"type":170,"tag":226,"props":4095,"children":4096},{},[4097],{"type":176,"value":4098},"{ before: 1, after: 1 }",{"type":170,"tag":178,"props":4100,"children":4101},{},[4102],{"type":176,"value":4103},"Get the previous and next results around the path. The path should be the full path of the target content.",{"type":170,"tag":178,"props":4105,"children":4106},{},[4107],{"type":176,"value":4108},"You will always obtain an array of fixed length filled with the matching document or null.",{"type":170,"tag":236,"props":4110,"children":4112},{"className":570,"code":4111,"language":572,"meta":163},"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",[4113],{"type":170,"tag":226,"props":4114,"children":4115},{"__ignoreMap":163},[4116,4183,4240,4292,4349,4386,4392,4400,4408,4420,4457,4490,4502,4514,4536],{"type":170,"tag":247,"props":4117,"children":4118},{"class":249,"line":250},[4119,4123,4127,4132,4137,4141,4145,4150,4155,4159,4163,4167,4171,4175,4179],{"type":170,"tag":247,"props":4120,"children":4121},{"class":286},[4122],{"type":176,"value":289},{"type":170,"tag":247,"props":4124,"children":4125},{"class":266},[4126],{"type":176,"value":269},{"type":170,"tag":247,"props":4128,"children":4129},{"class":296},[4130],{"type":176,"value":4131},"[",{"type":170,"tag":247,"props":4133,"children":4134},{"class":306},[4135],{"type":176,"value":4136},"prev",{"type":170,"tag":247,"props":4138,"children":4139},{"class":296},[4140],{"type":176,"value":373},{"type":170,"tag":247,"props":4142,"children":4143},{"class":266},[4144],{"type":176,"value":269},{"type":170,"tag":247,"props":4146,"children":4147},{"class":306},[4148],{"type":176,"value":4149},"next",{"type":170,"tag":247,"props":4151,"children":4152},{"class":296},[4153],{"type":176,"value":4154},"]",{"type":170,"tag":247,"props":4156,"children":4157},{"class":266},[4158],{"type":176,"value":269},{"type":170,"tag":247,"props":4160,"children":4161},{"class":325},[4162],{"type":176,"value":328},{"type":170,"tag":247,"props":4164,"children":4165},{"class":266},[4166],{"type":176,"value":269},{"type":170,"tag":247,"props":4168,"children":4169},{"class":335},[4170],{"type":176,"value":338},{"type":170,"tag":247,"props":4172,"children":4173},{"class":266},[4174],{"type":176,"value":269},{"type":170,"tag":247,"props":4176,"children":4177},{"class":345},[4178],{"type":176,"value":400},{"type":170,"tag":247,"props":4180,"children":4181},{"class":266},[4182],{"type":176,"value":622},{"type":170,"tag":247,"props":4184,"children":4185},{"class":249,"line":192},[4186,4190,4194,4198,4202,4206,4211,4215,4219,4223,4227,4231,4235],{"type":170,"tag":247,"props":4187,"children":4188},{"class":266},[4189],{"type":176,"value":487},{"type":170,"tag":247,"props":4191,"children":4192},{"class":296},[4193],{"type":176,"value":427},{"type":170,"tag":247,"props":4195,"children":4196},{"class":345},[4197],{"type":176,"value":3681},{"type":170,"tag":247,"props":4199,"children":4200},{"class":266},[4201],{"type":176,"value":3509},{"type":170,"tag":247,"props":4203,"children":4204},{"class":355},[4205],{"type":176,"value":358},{"type":170,"tag":247,"props":4207,"children":4208},{"class":361},[4209],{"type":176,"value":4210},"_path",{"type":170,"tag":247,"props":4212,"children":4213},{"class":355},[4214],{"type":176,"value":358},{"type":170,"tag":247,"props":4216,"children":4217},{"class":296},[4218],{"type":176,"value":373},{"type":170,"tag":247,"props":4220,"children":4221},{"class":266},[4222],{"type":176,"value":269},{"type":170,"tag":247,"props":4224,"children":4225},{"class":355},[4226],{"type":176,"value":358},{"type":170,"tag":247,"props":4228,"children":4229},{"class":361},[4230],{"type":176,"value":984},{"type":170,"tag":247,"props":4232,"children":4233},{"class":355},[4234],{"type":176,"value":358},{"type":170,"tag":247,"props":4236,"children":4237},{"class":266},[4238],{"type":176,"value":4239},"])\n",{"type":170,"tag":247,"props":4241,"children":4242},{"class":249,"line":440},[4243,4247,4251,4255,4259,4263,4267,4272,4276,4280,4284,4288],{"type":170,"tag":247,"props":4244,"children":4245},{"class":266},[4246],{"type":176,"value":487},{"type":170,"tag":247,"props":4248,"children":4249},{"class":296},[4250],{"type":176,"value":427},{"type":170,"tag":247,"props":4252,"children":4253},{"class":345},[4254],{"type":176,"value":2065},{"type":170,"tag":247,"props":4256,"children":4257},{"class":266},[4258],{"type":176,"value":352},{"type":170,"tag":247,"props":4260,"children":4261},{"class":296},[4262],{"type":176,"value":299},{"type":170,"tag":247,"props":4264,"children":4265},{"class":266},[4266],{"type":176,"value":269},{"type":170,"tag":247,"props":4268,"children":4269},{"class":981},[4270],{"type":176,"value":4271},"date",{"type":170,"tag":247,"props":4273,"children":4274},{"class":987},[4275],{"type":176,"value":990},{"type":170,"tag":247,"props":4277,"children":4278},{"class":266},[4279],{"type":176,"value":269},{"type":170,"tag":247,"props":4281,"children":4282},{"class":1329},[4283],{"type":176,"value":2094},{"type":170,"tag":247,"props":4285,"children":4286},{"class":296},[4287],{"type":176,"value":318},{"type":170,"tag":247,"props":4289,"children":4290},{"class":266},[4291],{"type":176,"value":689},{"type":170,"tag":247,"props":4293,"children":4294},{"class":249,"line":457},[4295,4299,4303,4307,4311,4315,4319,4324,4328,4332,4337,4341,4345],{"type":170,"tag":247,"props":4296,"children":4297},{"class":266},[4298],{"type":176,"value":487},{"type":170,"tag":247,"props":4300,"children":4301},{"class":296},[4302],{"type":176,"value":427},{"type":170,"tag":247,"props":4304,"children":4305},{"class":345},[4306],{"type":176,"value":966},{"type":170,"tag":247,"props":4308,"children":4309},{"class":266},[4310],{"type":176,"value":352},{"type":170,"tag":247,"props":4312,"children":4313},{"class":296},[4314],{"type":176,"value":299},{"type":170,"tag":247,"props":4316,"children":4317},{"class":266},[4318],{"type":176,"value":269},{"type":170,"tag":247,"props":4320,"children":4321},{"class":981},[4322],{"type":176,"value":4323},"isArchived",{"type":170,"tag":247,"props":4325,"children":4326},{"class":987},[4327],{"type":176,"value":990},{"type":170,"tag":247,"props":4329,"children":4330},{"class":266},[4331],{"type":176,"value":269},{"type":170,"tag":247,"props":4333,"children":4334},{"class":2884},[4335],{"type":176,"value":4336},"false",{"type":170,"tag":247,"props":4338,"children":4339},{"class":266},[4340],{"type":176,"value":269},{"type":170,"tag":247,"props":4342,"children":4343},{"class":296},[4344],{"type":176,"value":318},{"type":170,"tag":247,"props":4346,"children":4347},{"class":266},[4348],{"type":176,"value":689},{"type":170,"tag":247,"props":4350,"children":4351},{"class":249,"line":464},[4352,4356,4360,4365,4369,4373,4378,4382],{"type":170,"tag":247,"props":4353,"children":4354},{"class":266},[4355],{"type":176,"value":487},{"type":170,"tag":247,"props":4357,"children":4358},{"class":296},[4359],{"type":176,"value":427},{"type":170,"tag":247,"props":4361,"children":4362},{"class":345},[4363],{"type":176,"value":4364},"findSurround",{"type":170,"tag":247,"props":4366,"children":4367},{"class":266},[4368],{"type":176,"value":352},{"type":170,"tag":247,"props":4370,"children":4371},{"class":355},[4372],{"type":176,"value":358},{"type":170,"tag":247,"props":4374,"children":4375},{"class":361},[4376],{"type":176,"value":4377},"/articles/article-2",{"type":170,"tag":247,"props":4379,"children":4380},{"class":355},[4381],{"type":176,"value":358},{"type":170,"tag":247,"props":4383,"children":4384},{"class":266},[4385],{"type":176,"value":689},{"type":170,"tag":247,"props":4387,"children":4388},{"class":249,"line":481},[4389],{"type":170,"tag":247,"props":4390,"children":4391},{},[],{"type":170,"tag":247,"props":4393,"children":4394},{"class":249,"line":502},[4395],{"type":170,"tag":247,"props":4396,"children":4397},{"class":582},[4398],{"type":176,"value":4399},"// Returns\n",{"type":170,"tag":247,"props":4401,"children":4402},{"class":249,"line":511},[4403],{"type":170,"tag":247,"props":4404,"children":4405},{"class":266},[4406],{"type":176,"value":4407},"[\n",{"type":170,"tag":247,"props":4409,"children":4410},{"class":249,"line":531},[4411,4415],{"type":170,"tag":247,"props":4412,"children":4413},{"class":266},[4414],{"type":176,"value":487},{"type":170,"tag":247,"props":4416,"children":4417},{"class":296},[4418],{"type":176,"value":4419},"{\n",{"type":170,"tag":247,"props":4421,"children":4422},{"class":249,"line":1374},[4423,4427,4431,4435,4439,4443,4448,4452],{"type":170,"tag":247,"props":4424,"children":4425},{"class":266},[4426],{"type":176,"value":3206},{"type":170,"tag":247,"props":4428,"children":4429},{"class":981},[4430],{"type":176,"value":984},{"type":170,"tag":247,"props":4432,"children":4433},{"class":987},[4434],{"type":176,"value":990},{"type":170,"tag":247,"props":4436,"children":4437},{"class":266},[4438],{"type":176,"value":269},{"type":170,"tag":247,"props":4440,"children":4441},{"class":355},[4442],{"type":176,"value":358},{"type":170,"tag":247,"props":4444,"children":4445},{"class":361},[4446],{"type":176,"value":4447},"Article 1",{"type":170,"tag":247,"props":4449,"children":4450},{"class":355},[4451],{"type":176,"value":358},{"type":170,"tag":247,"props":4453,"children":4454},{"class":296},[4455],{"type":176,"value":4456},",\n",{"type":170,"tag":247,"props":4458,"children":4459},{"class":249,"line":1383},[4460,4464,4468,4472,4476,4480,4485],{"type":170,"tag":247,"props":4461,"children":4462},{"class":266},[4463],{"type":176,"value":3206},{"type":170,"tag":247,"props":4465,"children":4466},{"class":981},[4467],{"type":176,"value":4210},{"type":170,"tag":247,"props":4469,"children":4470},{"class":987},[4471],{"type":176,"value":990},{"type":170,"tag":247,"props":4473,"children":4474},{"class":266},[4475],{"type":176,"value":269},{"type":170,"tag":247,"props":4477,"children":4478},{"class":355},[4479],{"type":176,"value":358},{"type":170,"tag":247,"props":4481,"children":4482},{"class":361},[4483],{"type":176,"value":4484},"/articles/article-1",{"type":170,"tag":247,"props":4486,"children":4487},{"class":355},[4488],{"type":176,"value":4489},"'\n",{"type":170,"tag":247,"props":4491,"children":4492},{"class":249,"line":2372},[4493,4497],{"type":170,"tag":247,"props":4494,"children":4495},{"class":296},[4496],{"type":176,"value":3206},{"type":170,"tag":247,"props":4498,"children":4499},{"class":582},[4500],{"type":176,"value":4501},"//...\n",{"type":170,"tag":247,"props":4503,"children":4504},{"class":249,"line":2428},[4505,4509],{"type":170,"tag":247,"props":4506,"children":4507},{"class":266},[4508],{"type":176,"value":487},{"type":170,"tag":247,"props":4510,"children":4511},{"class":296},[4512],{"type":176,"value":4513},"},\n",{"type":170,"tag":247,"props":4515,"children":4516},{"class":249,"line":2488},[4517,4521,4527,4531],{"type":170,"tag":247,"props":4518,"children":4519},{"class":266},[4520],{"type":176,"value":487},{"type":170,"tag":247,"props":4522,"children":4524},{"class":4523},"ct-713222",[4525],{"type":176,"value":4526},"null",{"type":170,"tag":247,"props":4528,"children":4529},{"class":266},[4530],{"type":176,"value":269},{"type":170,"tag":247,"props":4532,"children":4533},{"class":582},[4534],{"type":176,"value":4535},"// no article-3 here\n",{"type":170,"tag":247,"props":4537,"children":4538},{"class":249,"line":2508},[4539],{"type":170,"tag":247,"props":4540,"children":4541},{"class":266},[4542],{"type":176,"value":4154},{"type":170,"tag":207,"props":4544,"children":4545},{"id":2950},[4546],{"type":170,"tag":226,"props":4547,"children":4548},{},[4549],{"type":176,"value":4550},"count()",{"type":170,"tag":178,"props":4552,"children":4553},{},[4554],{"type":176,"value":4555},"Count the number of matched contents based on the query.",{"type":170,"tag":236,"props":4557,"children":4559},{"className":570,"code":4558,"language":572,"meta":163},"// Count of articles\nconst count = await queryContent('articles').count()\n\n// Returns\n5 // number of articles\n",[4560],{"type":170,"tag":226,"props":4561,"children":4562},{"__ignoreMap":163},[4563,4571,4642,4648,4655],{"type":170,"tag":247,"props":4564,"children":4565},{"class":249,"line":250},[4566],{"type":170,"tag":247,"props":4567,"children":4568},{"class":582},[4569],{"type":176,"value":4570},"// Count of articles\n",{"type":170,"tag":247,"props":4572,"children":4573},{"class":249,"line":192},[4574,4578,4582,4586,4590,4594,4598,4602,4606,4610,4614,4618,4622,4626,4630,4634,4638],{"type":170,"tag":247,"props":4575,"children":4576},{"class":286},[4577],{"type":176,"value":289},{"type":170,"tag":247,"props":4579,"children":4580},{"class":266},[4581],{"type":176,"value":269},{"type":170,"tag":247,"props":4583,"children":4584},{"class":306},[4585],{"type":176,"value":2950},{"type":170,"tag":247,"props":4587,"children":4588},{"class":266},[4589],{"type":176,"value":269},{"type":170,"tag":247,"props":4591,"children":4592},{"class":325},[4593],{"type":176,"value":328},{"type":170,"tag":247,"props":4595,"children":4596},{"class":266},[4597],{"type":176,"value":269},{"type":170,"tag":247,"props":4599,"children":4600},{"class":335},[4601],{"type":176,"value":338},{"type":170,"tag":247,"props":4603,"children":4604},{"class":266},[4605],{"type":176,"value":269},{"type":170,"tag":247,"props":4607,"children":4608},{"class":345},[4609],{"type":176,"value":400},{"type":170,"tag":247,"props":4611,"children":4612},{"class":266},[4613],{"type":176,"value":352},{"type":170,"tag":247,"props":4615,"children":4616},{"class":355},[4617],{"type":176,"value":358},{"type":170,"tag":247,"props":4619,"children":4620},{"class":361},[4621],{"type":176,"value":680},{"type":170,"tag":247,"props":4623,"children":4624},{"class":355},[4625],{"type":176,"value":358},{"type":170,"tag":247,"props":4627,"children":4628},{"class":266},[4629],{"type":176,"value":422},{"type":170,"tag":247,"props":4631,"children":4632},{"class":296},[4633],{"type":176,"value":427},{"type":170,"tag":247,"props":4635,"children":4636},{"class":345},[4637],{"type":176,"value":2950},{"type":170,"tag":247,"props":4639,"children":4640},{"class":266},[4641],{"type":176,"value":622},{"type":170,"tag":247,"props":4643,"children":4644},{"class":249,"line":440},[4645],{"type":170,"tag":247,"props":4646,"children":4647},{},[],{"type":170,"tag":247,"props":4649,"children":4650},{"class":249,"line":457},[4651],{"type":170,"tag":247,"props":4652,"children":4653},{"class":582},[4654],{"type":176,"value":4399},{"type":170,"tag":247,"props":4656,"children":4657},{"class":249,"line":464},[4658,4662,4666],{"type":170,"tag":247,"props":4659,"children":4660},{"class":1329},[4661],{"type":176,"value":3066},{"type":170,"tag":247,"props":4663,"children":4664},{"class":266},[4665],{"type":176,"value":269},{"type":170,"tag":247,"props":4667,"children":4668},{"class":582},[4669],{"type":176,"value":4670},"// number of articles",{"type":170,"tag":178,"props":4672,"children":4673},{},[4674,4676,4680,4682,4687],{"type":176,"value":4675},"You can also use ",{"type":170,"tag":226,"props":4677,"children":4678},{},[4679],{"type":176,"value":4550},{"type":176,"value":4681}," with ",{"type":170,"tag":226,"props":4683,"children":4684},{},[4685],{"type":176,"value":4686},"where()",{"type":176,"value":4688}," method.",{"type":170,"tag":236,"props":4690,"children":4692},{"className":570,"code":4691,"language":572,"meta":163},"// Count of articles\nconst count = await queryContent('articles')\n  .where({ isArchived: false })\n  .count()\n\n// Returns\n5 // number of articles\n",[4693],{"type":170,"tag":226,"props":4694,"children":4695},{"__ignoreMap":163},[4696,4703,4762,4817,4836,4842,4849],{"type":170,"tag":247,"props":4697,"children":4698},{"class":249,"line":250},[4699],{"type":170,"tag":247,"props":4700,"children":4701},{"class":582},[4702],{"type":176,"value":4570},{"type":170,"tag":247,"props":4704,"children":4705},{"class":249,"line":192},[4706,4710,4714,4718,4722,4726,4730,4734,4738,4742,4746,4750,4754,4758],{"type":170,"tag":247,"props":4707,"children":4708},{"class":286},[4709],{"type":176,"value":289},{"type":170,"tag":247,"props":4711,"children":4712},{"class":266},[4713],{"type":176,"value":269},{"type":170,"tag":247,"props":4715,"children":4716},{"class":306},[4717],{"type":176,"value":2950},{"type":170,"tag":247,"props":4719,"children":4720},{"class":266},[4721],{"type":176,"value":269},{"type":170,"tag":247,"props":4723,"children":4724},{"class":325},[4725],{"type":176,"value":328},{"type":170,"tag":247,"props":4727,"children":4728},{"class":266},[4729],{"type":176,"value":269},{"type":170,"tag":247,"props":4731,"children":4732},{"class":335},[4733],{"type":176,"value":338},{"type":170,"tag":247,"props":4735,"children":4736},{"class":266},[4737],{"type":176,"value":269},{"type":170,"tag":247,"props":4739,"children":4740},{"class":345},[4741],{"type":176,"value":400},{"type":170,"tag":247,"props":4743,"children":4744},{"class":266},[4745],{"type":176,"value":352},{"type":170,"tag":247,"props":4747,"children":4748},{"class":355},[4749],{"type":176,"value":358},{"type":170,"tag":247,"props":4751,"children":4752},{"class":361},[4753],{"type":176,"value":680},{"type":170,"tag":247,"props":4755,"children":4756},{"class":355},[4757],{"type":176,"value":358},{"type":170,"tag":247,"props":4759,"children":4760},{"class":266},[4761],{"type":176,"value":689},{"type":170,"tag":247,"props":4763,"children":4764},{"class":249,"line":440},[4765,4769,4773,4777,4781,4785,4789,4793,4797,4801,4805,4809,4813],{"type":170,"tag":247,"props":4766,"children":4767},{"class":266},[4768],{"type":176,"value":487},{"type":170,"tag":247,"props":4770,"children":4771},{"class":296},[4772],{"type":176,"value":427},{"type":170,"tag":247,"props":4774,"children":4775},{"class":345},[4776],{"type":176,"value":966},{"type":170,"tag":247,"props":4778,"children":4779},{"class":266},[4780],{"type":176,"value":352},{"type":170,"tag":247,"props":4782,"children":4783},{"class":296},[4784],{"type":176,"value":299},{"type":170,"tag":247,"props":4786,"children":4787},{"class":266},[4788],{"type":176,"value":269},{"type":170,"tag":247,"props":4790,"children":4791},{"class":981},[4792],{"type":176,"value":4323},{"type":170,"tag":247,"props":4794,"children":4795},{"class":987},[4796],{"type":176,"value":990},{"type":170,"tag":247,"props":4798,"children":4799},{"class":266},[4800],{"type":176,"value":269},{"type":170,"tag":247,"props":4802,"children":4803},{"class":2884},[4804],{"type":176,"value":4336},{"type":170,"tag":247,"props":4806,"children":4807},{"class":266},[4808],{"type":176,"value":269},{"type":170,"tag":247,"props":4810,"children":4811},{"class":296},[4812],{"type":176,"value":318},{"type":170,"tag":247,"props":4814,"children":4815},{"class":266},[4816],{"type":176,"value":689},{"type":170,"tag":247,"props":4818,"children":4819},{"class":249,"line":457},[4820,4824,4828,4832],{"type":170,"tag":247,"props":4821,"children":4822},{"class":266},[4823],{"type":176,"value":487},{"type":170,"tag":247,"props":4825,"children":4826},{"class":296},[4827],{"type":176,"value":427},{"type":170,"tag":247,"props":4829,"children":4830},{"class":345},[4831],{"type":176,"value":2950},{"type":170,"tag":247,"props":4833,"children":4834},{"class":266},[4835],{"type":176,"value":622},{"type":170,"tag":247,"props":4837,"children":4838},{"class":249,"line":464},[4839],{"type":170,"tag":247,"props":4840,"children":4841},{},[],{"type":170,"tag":247,"props":4843,"children":4844},{"class":249,"line":481},[4845],{"type":170,"tag":247,"props":4846,"children":4847},{"class":582},[4848],{"type":176,"value":4399},{"type":170,"tag":247,"props":4850,"children":4851},{"class":249,"line":502},[4852,4856,4860],{"type":170,"tag":247,"props":4853,"children":4854},{"class":1329},[4855],{"type":176,"value":3066},{"type":170,"tag":247,"props":4857,"children":4858},{"class":266},[4859],{"type":176,"value":269},{"type":170,"tag":247,"props":4861,"children":4862},{"class":582},[4863],{"type":176,"value":4670},{"type":170,"tag":4865,"props":4866,"children":4867},"style",{},[4868],{"type":176,"value":4869},".solarized-light_dark-plus_material-theme-lighter{color:#657B83;background:#FDF6E3;}.dark .solarized-light_dark-plus_material-theme-lighter{color:#D4D4D4;background:#1E1E1E;}.light .solarized-light_dark-plus_material-theme-lighter{color:#90A4AE;background:#FAFAFA;}.ct-578153{color:#93A1A1;}.dark .ct-578153{color:#808080;}.light .ct-578153{color:#39ADB5;}.ct-952042{color:#268BD2;}.dark .ct-952042{color:#569CD6;}.light .ct-952042{color:#E53935;}.ct-916772{color:#657B83;}.dark .ct-916772{color:#D4D4D4;}.light .ct-916772{color:#90A4AE;}.ct-303788{color:#93A1A1;}.dark .ct-303788{color:#9CDCFE;}.light .ct-303788{color:#9C3EDA;}.ct-696419{color:#586E75;font-weight:bold;}.dark .ct-696419{color:#569CD6;font-weight:unset;}.light .ct-696419{color:#9C3EDA;font-weight:unset;}.ct-001462{color:#657B83;}.dark .ct-001462{color:#D4D4D4;}.light .ct-001462{color:#39ADB5;}.ct-263069{color:#268BD2;}.dark .ct-263069{color:#4FC1FF;}.light .ct-263069{color:#90A4AE;}.ct-773118{color:#859900;}.dark .ct-773118{color:#D4D4D4;}.light .ct-773118{color:#39ADB5;}.ct-702290{color:#859900;}.dark .ct-702290{color:#C586C0;}.light .ct-702290{color:#39ADB5;font-style:italic;}.ct-187170{color:#268BD2;}.dark .ct-187170{color:#DCDCAA;}.light .ct-187170{color:#6182B8;}.ct-659886{color:#2AA198;}.dark .ct-659886{color:#CE9178;}.light .ct-659886{color:#39ADB5;}.ct-084644{color:#2AA198;}.dark .ct-084644{color:#CE9178;}.light .ct-084644{color:#91B859;}.ct-798230{color:#93A1A1;font-style:italic;}.dark .ct-798230{color:#6A9955;font-style:unset;}.light .ct-798230{color:#90A4AE;font-style:italic;}.ct-340802{color:#657B83;}.dark .ct-340802{color:#9CDCFE;}.light .ct-340802{color:#E53935;}.ct-931742{color:#657B83;}.dark .ct-931742{color:#9CDCFE;}.light .ct-931742{color:#39ADB5;}.ct-822477{color:#D33682;}.dark .ct-822477{color:#B5CEA8;}.light .ct-822477{color:#F76D47;}.ct-716470{color:#2AA198;}.dark .ct-716470{color:#CE9178;}.light .ct-716470{color:#E53935;}.ct-432929{color:#B58900;}.dark .ct-432929{color:#569CD6;}.light .ct-432929{color:#FF5370;}.ct-713222{color:#B58900;}.dark .ct-713222{color:#569CD6;}.light .ct-713222{color:#39ADB5;}",{"title":163,"searchDepth":192,"depth":192,"links":4871},[4872,4873,4874,4875,4876,4877,4878,4879,4880,4881,4882,4883],{"id":209,"depth":192,"text":212},{"id":548,"depth":192,"text":551},{"id":778,"depth":192,"text":784},{"id":1934,"depth":192,"text":1940},{"id":2933,"depth":192,"text":2939},{"id":3085,"depth":192,"text":3091},{"id":3276,"depth":192,"text":3282},{"id":3562,"depth":192,"text":3568},{"id":1361,"depth":192,"text":3847},{"id":3941,"depth":192,"text":3947},{"id":4034,"depth":192,"text":4040},{"id":2950,"depth":192,"text":4550},"content:3.composables:1.query-content.md","3.composables/1.query-content.md",1695728547509]