Home / Function/ getDropTableIfExistsQuery() — astro Function Reference

getDropTableIfExistsQuery() — astro Function Reference

Architecture documentation for the getDropTableIfExistsQuery() function in queries.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  150939a9_7392_ff68_9263_0ab9890857d7["getDropTableIfExistsQuery()"]
  ad642171_aa4f_abf2_da4d_c5b2e217a132["queries.ts"]
  150939a9_7392_ff68_9263_0ab9890857d7 -->|defined in| ad642171_aa4f_abf2_da4d_c5b2e217a132
  style 150939a9_7392_ff68_9263_0ab9890857d7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/db/src/core/queries.ts lines 27–29

export function getDropTableIfExistsQuery(tableName: string) {
	return `DROP TABLE IF EXISTS ${sqlite.escapeName(tableName)}`;
}

Domain

Subdomains

Frequently Asked Questions

What does getDropTableIfExistsQuery() do?
getDropTableIfExistsQuery() is a function in the astro codebase, defined in packages/db/src/core/queries.ts.
Where is getDropTableIfExistsQuery() defined?
getDropTableIfExistsQuery() is defined in packages/db/src/core/queries.ts at line 27.

Analyze Your Own Codebase

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

Try Supermodel Free