Home / Function/ collections() — astro Function Reference

collections() — astro Function Reference

Architecture documentation for the collections() function in data-store.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  e6a0837f_2d31_99b0_1458_d79705a27d08["collections()"]
  ac7e948d_1024_ae45_2ea1_742b83aa21b5["ImmutableDataStore"]
  e6a0837f_2d31_99b0_1458_d79705a27d08 -->|defined in| ac7e948d_1024_ae45_2ea1_742b83aa21b5
  style e6a0837f_2d31_99b0_1458_d79705a27d08 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/content/data-store.ts lines 82–84

	collections() {
		return this._collections;
	}

Subdomains

Frequently Asked Questions

What does collections() do?
collections() is a function in the astro codebase, defined in packages/astro/src/content/data-store.ts.
Where is collections() defined?
collections() is defined in packages/astro/src/content/data-store.ts at line 82.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free