File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -384,7 +384,7 @@ pub struct GenerationConfig<'a> {
384384 /// Diesel backend
385385 ///
386386 /// For example:
387- /// - `diesel::pg::Pg` (default)
387+ /// - `diesel::pg::Pg`
388388 /// - `diesel::sqlite::Sqlite`
389389 /// - `diesel::mysql::Mysql`
390390 /// - or, your custom diesel backend type (struct which implements `diesel::backend::Backend`)
@@ -396,12 +396,16 @@ pub struct GenerationConfig<'a> {
396396 /// GenerationConfig {
397397 /// // ... all required options
398398 /// # connection_type: String::default(),
399+ /// # #[cfg(feature = "advanced-queries")]
400+ /// # diesel_backend: "diesel::sqlite::Sqlite".to_string(),
399401 /// options: Default::default(),
400402 /// };
401403 /// // or
402404 /// GenerationConfig {
403405 /// // ... all required options
404406 /// # connection_type: String::default(),
407+ /// # #[cfg(feature = "advanced-queries")]
408+ /// # diesel_backend: "diesel::sqlite::Sqlite".to_string(),
405409 /// options: GenerationConfigOpts {
406410 /// ..Default::default()
407411 /// },
You can’t perform that action at this time.
0 commit comments