commentLikesConfig() — drizzle-orm Function Reference
Architecture documentation for the commentLikesConfig() function in d1-batch.test.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 66a968f0_8d9a_ce66_5984_eff7dd1f4c79["commentLikesConfig()"] 217d8ff7_ac18_f552_4097_dc51d5ac3b12["d1-batch.test.ts"] 66a968f0_8d9a_ce66_5984_eff7dd1f4c79 -->|defined in| 217d8ff7_ac18_f552_4097_dc51d5ac3b12 style 66a968f0_8d9a_ce66_5984_eff7dd1f4c79 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
integration-tests/tests/sqlite/d1-batch.test.ts lines 113–122
export const commentLikesConfig = relations(commentLikesTable, ({ one }) => ({
comment: one(commentsTable, {
fields: [commentLikesTable.commentId],
references: [commentsTable.id],
}),
author: one(usersTable, {
fields: [commentLikesTable.creator],
references: [usersTable.id],
}),
}));
Domain
Subdomains
Source
Frequently Asked Questions
What does commentLikesConfig() do?
commentLikesConfig() is a function in the drizzle-orm codebase, defined in integration-tests/tests/sqlite/d1-batch.test.ts.
Where is commentLikesConfig() defined?
commentLikesConfig() is defined in integration-tests/tests/sqlite/d1-batch.test.ts at line 113.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free