pub trait SQLParam: Clone + Debug {
const DIALECT: Dialect = Dialect::SQLite;
}Expand description
A marker trait for types that can be used as SQL parameters.
This trait is used as a bound on the parameter type in SQL fragments. It ensures type safety when building SQL queries with parameters.
Provided Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.