entries() — astro Function Reference
Architecture documentation for the entries() function in data-store.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 95a007eb_12c4_3a4d_3d17_33a2c145ee48["entries()"] ac7e948d_1024_ae45_2ea1_742b83aa21b5["ImmutableDataStore"] 95a007eb_12c4_3a4d_3d17_33a2c145ee48 -->|defined in| ac7e948d_1024_ae45_2ea1_742b83aa21b5 3b90745d_78ea_8543_7f62_501ddedc7a8d["get()"] 95a007eb_12c4_3a4d_3d17_33a2c145ee48 -->|calls| 3b90745d_78ea_8543_7f62_501ddedc7a8d style 95a007eb_12c4_3a4d_3d17_33a2c145ee48 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/content/data-store.ts lines 55–58
entries<T = DataEntry>(collectionName: string): Array<[id: string, T]> {
const collection = this._collections.get(collectionName) ?? new Map();
return [...collection.entries()];
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does entries() do?
entries() is a function in the astro codebase, defined in packages/astro/src/content/data-store.ts.
Where is entries() defined?
entries() is defined in packages/astro/src/content/data-store.ts at line 55.
What does entries() call?
entries() calls 1 function(s): get.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free