Functions
introspect_sqlite
1
SchemaSnapshot
▼
Read schema from a SQLite database.
async
introspect_sqlite
1
SchemaSnapshot
▼
async def introspect_sqlite(db) -> SchemaSnapshot
Parameters
| Name | Type | Description |
|---|---|---|
db |
— |
Returns
SchemaSnapshot
introspect_postgres
1
SchemaSnapshot
▼
Read schema from a PostgreSQL database.
async
introspect_postgres
1
SchemaSnapshot
▼
async def introspect_postgres(db) -> SchemaSnapshot
Parameters
| Name | Type | Description |
|---|---|---|
db |
— |
Returns
SchemaSnapshot
introspect
1
SchemaSnapshot
▼
Auto-detect database type and introspect schema.
async
introspect
1
SchemaSnapshot
▼
async def introspect(db) -> SchemaSnapshot
Parameters
| Name | Type | Description |
|---|---|---|
db |
— |
Returns
SchemaSnapshot