| Crates.io | sql-fingerprint |
| lib.rs | sql-fingerprint |
| version | 1.9.0 |
| created_at | 2025-04-02 21:30:23.56684+00 |
| updated_at | 2025-07-31 09:05:27.430065+00 |
| description | A SQL fingerprinter. |
| homepage | |
| repository | https://github.com/adamchainz/sql-fingerprint |
| max_upload_size | |
| id | 1617247 |
| size | 34,031 |
A SQL fingerprinter.
sql-fingerprint reduces SQL queries to recognizable fingerprints for easier comparison. The goal is to provide readable traces from queries captured during tests, so that changes can be tracked over time.
For example, given a query like:
SELECT name, age /* computed */ FROM cheeses WHERE origin = 'France'
…it will output a fingerprint like:
SELECT ... FROM cheeses WHERE ...
The fingerprinting process applies these changes: