Home / Function/ mysqlTable() — drizzle-orm Function Reference

mysqlTable() — drizzle-orm Function Reference

Architecture documentation for the mysqlTable() function in table.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  baeaae7a_6e32_8d63_8090_9210b8c900b4["mysqlTable()"]
  62c695d3_7eff_3822_db70_ce6b25ccdb04["table.ts"]
  baeaae7a_6e32_8d63_8090_9210b8c900b4 -->|defined in| 62c695d3_7eff_3822_db70_ce6b25ccdb04
  4472a230_8b4f_21d2_d5cb_0acb52f6ee17["constructor()"]
  4472a230_8b4f_21d2_d5cb_0acb52f6ee17 -->|calls| baeaae7a_6e32_8d63_8090_9210b8c900b4
  ed204ff7_3e66_4124_7788_616d3713b13c["mysqlTableWithSchema()"]
  baeaae7a_6e32_8d63_8090_9210b8c900b4 -->|calls| ed204ff7_3e66_4124_7788_616d3713b13c
  style baeaae7a_6e32_8d63_8090_9210b8c900b4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/mysql-core/table.ts lines 221–223

export const mysqlTable: MySqlTableFn = (name, columns, extraConfig) => {
	return mysqlTableWithSchema(name, columns, extraConfig, undefined, name);
};

Domain

Subdomains

Called By

Frequently Asked Questions

What does mysqlTable() do?
mysqlTable() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/mysql-core/table.ts.
Where is mysqlTable() defined?
mysqlTable() is defined in drizzle-orm/src/mysql-core/table.ts at line 221.
What does mysqlTable() call?
mysqlTable() calls 1 function(s): mysqlTableWithSchema.
What calls mysqlTable()?
mysqlTable() is called by 1 function(s): constructor.

Analyze Your Own Codebase

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

Try Supermodel Free