pub trait PragmaArgument: RenderArgument { }Available on crate feature
__sqlite-shared only.Expand description
A value written into a pragma statement, which takes no bind parameters.
Diesel renders every argument itself, so this trait cannot be implemented outside Diesel. A type of your own becomes an argument by converting into one with From.
Integers and bool are written as decimal integers. An Option<NonZeroU32> writes None as 0, which limit pragmas such as incremental_vacuum read as no limit.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".