fb-snapshot
Connects to a Firebird database and captures a snapshot into a sqlite index.
Read this when you want a drag-lint index of a Firebird database itself. fb-snapshot connects with a FireDAC-style connection string and captures a snapshot into the sqlite file named by --db. Command line only.
How to run it
Full flag list: fb-snapshot in the CLI reference.
Flags
| Flag | Argument | Meaning | Default |
|---|---|---|---|
--connection | |||
--db | <sql.sqlite> |
Where to click
No IDE surface: this feature runs from the CLI (see How to run it).
Needs: index
Details
Connects to a Firebird database and captures a snapshot into a sqlite index. Reach for it when you need a drag-lint-queryable index built from a Firebird database connection.
Running it from the CLI
drag-lint fb-snapshot --connection "Database=...;User=...;Password=...;DriverID=FB" --db <sql.sqlite>
The --connection value's exact contents beyond the
Database=...;User=...;Password=...;DriverID=FB shape shown in the usage
line are not documented here -- supply your own real Firebird connection
parameters in that form.
What it needs
An index IS required -- the --db flag naming the target sqlite file is
mandatory. Whether that file must already exist beforehand is not
documented; run drag-lint resolve-dbs if unsure which DB is in play.
Example
Illustrative only:
drag-lint fb-snapshot --connection "Database=...;User=...;Password=...;DriverID=FB" --db sql.sqlite
This would snapshot the connected Firebird database into sql.sqlite.