updatePageInsertionCounts() — supabase Function Reference
Architecture documentation for the updatePageInsertionCounts() function in utils.ts from the supabase codebase.
Entity Profile
Dependency Diagram
graph TD cf05d29e_2938_5b91_5b78_aa5880461ee4["updatePageInsertionCounts()"] e004e86e_d6b3_597d_5a6c_1a898d503de3["processAndInsertEmbeddings()"] e004e86e_d6b3_597d_5a6c_1a898d503de3 -->|calls| cf05d29e_2938_5b91_5b78_aa5880461ee4 style cf05d29e_2938_5b91_5b78_aa5880461ee4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/docs/scripts/search/embeddings/utils.ts lines 68–76
export function updatePageInsertionCounts(
pageSectionsInserted: Map<number, number>,
sectionsWithEmbeddings: PageSectionWithEmbedding[]
) {
sectionsWithEmbeddings.forEach((section) => {
const current = pageSectionsInserted.get(section.pageId) || 0
pageSectionsInserted.set(section.pageId, current + 1)
})
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does updatePageInsertionCounts() do?
updatePageInsertionCounts() is a function in the supabase codebase.
What calls updatePageInsertionCounts()?
updatePageInsertionCounts() is called by 1 function(s): processAndInsertEmbeddings.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free