Document round trip ability (#1052)

This commit is contained in:
Andrew Lamb 2023-11-27 12:29:59 -05:00 committed by GitHub
parent 86aa044032
commit 64eccdbba2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 46 additions and 1 deletions

View file

@ -102,6 +102,11 @@ impl TestedDialects {
/// Ensures that `sql` parses as a single [Statement] for all tested
/// dialects.
///
/// In general, the canonical SQL should be the same (see crate
/// documentation for rationale) and you should prefer the `verified_`
/// variants in testing, such as [`verified_statement`] or
/// [`verified_query`].
///
/// If `canonical` is non empty,this function additionally asserts
/// that:
///