Skip to main content

dump_schema

Function dump_schema 

Source
pub fn dump_schema(conn: &Connection) -> String
Expand description

Render the schema of every user-visible table as a sequence of CREATE TABLE … (…); statements, sorted alphabetically by name.

The internal sqlrite_master catalog is filtered out — the LLM doesn’t need to know about it and including it would confuse the generation.