1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//! SQL dialect classification shared across the driver and write-path
//! modules.
//!
//! [`Dialect`] is a pure data classification of the SQL flavour a
//! connection speaks, derived from the URL scheme. It carries no driver
//! dependency and is deliberately not feature-gated so that callers can
//! reason about portable DDL/query generation regardless of which
//! backend features are compiled in.
/// SQL dialect of the target database, used to generate portable DDL
/// and queries.
///
/// Derived from the connection URL scheme (see [`Dialect::from_scheme`]).
/// Deliberately not feature-gated: it is a pure data classification of
/// the SQL we emit and carries no driver dependency, so it stays
/// available regardless of which backend features are compiled in.