Expand description
Live database introspection for sqlshield.
Connects to a running database and builds a TablesAndColumns map
directly from system catalogs — no SQL dump required. Driver is selected
by URL scheme:
postgres://…/postgresql://…— Postgres via thepostgrescrate.sqlite:///path/to/file.db(or a bare path) — SQLite viarusqlite.
MySQL support is planned but currently blocked on the mysql_common
crate’s use of unstable Rust features that haven’t reached the project’s
pinned toolchain yet.
Each driver is optional behind a Cargo feature; the default build pulls both currently-supported drivers.
Enums§
Functions§
- introspect
- Connect to
db_urland return the live schema. Caller is expected to pass a URL the running process can actually reach; the function returns any driver error directly so callers can show a useful message.