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 @@ -388,7 +388,7 @@ pub struct GenerationConfig<'a> {
388388 /// Diesel backend
389389 ///
390390 /// For example:
391- /// - `diesel::pg::Pg` (default)
391+ /// - `diesel::pg::Pg`
392392 /// - `diesel::sqlite::Sqlite`
393393 /// - `diesel::mysql::Mysql`
394394 /// - or, your custom diesel backend type (struct which implements `diesel::backend::Backend`)
@@ -400,12 +400,16 @@ pub struct GenerationConfig<'a> {
400400 /// GenerationConfig {
401401 /// // ... all required options
402402 /// # connection_type: String::default(),
403+ /// # #[cfg(feature = "advanced-queries")]
404+ /// # diesel_backend: "diesel::sqlite::Sqlite".to_string(),
403405 /// options: Default::default(),
404406 /// };
405407 /// // or
406408 /// GenerationConfig {
407409 /// // ... all required options
408410 /// # connection_type: String::default(),
411+ /// # #[cfg(feature = "advanced-queries")]
412+ /// # diesel_backend: "diesel::sqlite::Sqlite".to_string(),
409413 /// options: GenerationConfigOpts {
410414 /// ..Default::default()
411415 /// },
You can’t perform that action at this time.
0 commit comments