setupReturningFunctionsTest() — drizzle-orm Function Reference
Architecture documentation for the setupReturningFunctionsTest() function in mysql-returning.test.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 4cf0cd8d_653a_8fb9_66fa_076f8200fe93["setupReturningFunctionsTest()"] 2f0f3dd0_df4f_391f_6553_eaed9f6b05dd["mysql-returning.test.ts"] 4cf0cd8d_653a_8fb9_66fa_076f8200fe93 -->|defined in| 2f0f3dd0_df4f_391f_6553_eaed9f6b05dd style 4cf0cd8d_653a_8fb9_66fa_076f8200fe93 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
integration-tests/tests/mysql-returning.test.ts lines 133–143
async function setupReturningFunctionsTest(db: MySql2Database) {
await db.execute(sql`drop table if exists \`users_default_fn\``);
await db.execute(
sql`
create table \`users_default_fn\` (
\`id\` varchar(256) primary key,
\`name\` text not null
);
`,
);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does setupReturningFunctionsTest() do?
setupReturningFunctionsTest() is a function in the drizzle-orm codebase, defined in integration-tests/tests/mysql-returning.test.ts.
Where is setupReturningFunctionsTest() defined?
setupReturningFunctionsTest() is defined in integration-tests/tests/mysql-returning.test.ts at line 133.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free