@@ -520,7 +520,11 @@ pub trait ExprTrait: Sized {
520
520
/// let query = Query::select()
521
521
/// .columns([Char::Id])
522
522
/// .from(Char::Table)
523
- /// .and_where((Char::Table, Char::SizeW).into_column_ref().is_in([1, 2, 3]))
523
+ /// .and_where(
524
+ /// (Char::Table, Char::SizeW)
525
+ /// .into_column_ref()
526
+ /// .is_in([1, 2, 3]),
527
+ /// )
524
528
/// .to_owned();
525
529
///
526
530
/// assert_eq!(
@@ -543,7 +547,11 @@ pub trait ExprTrait: Sized {
543
547
/// let query = Query::select()
544
548
/// .columns([Char::Id])
545
549
/// .from(Char::Table)
546
- /// .and_where((Char::Table, Char::SizeW).into_column_ref().is_in(Vec::<u8>::new()))
550
+ /// .and_where(
551
+ /// (Char::Table, Char::SizeW)
552
+ /// .into_column_ref()
553
+ /// .is_in(Vec::<u8>::new()),
554
+ /// )
547
555
/// .to_owned();
548
556
///
549
557
/// assert_eq!(
@@ -615,7 +623,11 @@ pub trait ExprTrait: Sized {
615
623
/// let query = Query::select()
616
624
/// .columns([Char::Id])
617
625
/// .from(Char::Table)
618
- /// .and_where((Char::Table, Char::SizeW).into_column_ref().is_not_in([1, 2, 3]))
626
+ /// .and_where(
627
+ /// (Char::Table, Char::SizeW)
628
+ /// .into_column_ref()
629
+ /// .is_not_in([1, 2, 3]),
630
+ /// )
619
631
/// .to_owned();
620
632
///
621
633
/// assert_eq!(
@@ -638,7 +650,11 @@ pub trait ExprTrait: Sized {
638
650
/// let query = Query::select()
639
651
/// .columns([Char::Id])
640
652
/// .from(Char::Table)
641
- /// .and_where((Char::Table, Char::SizeW).into_column_ref().is_not_in(Vec::<u8>::new()))
653
+ /// .and_where(
654
+ /// (Char::Table, Char::SizeW)
655
+ /// .into_column_ref()
656
+ /// .is_not_in(Vec::<u8>::new()),
657
+ /// )
642
658
/// .to_owned();
643
659
///
644
660
/// assert_eq!(
@@ -1162,7 +1178,7 @@ pub trait ExprTrait: Sized {
1162
1178
/// # Examples
1163
1179
///
1164
1180
/// ```
1165
- /// use sea_query::{*, tests_cfg::*};
1181
+ /// use sea_query::{tests_cfg::*, *};
1166
1182
///
1167
1183
/// let query = Query::select()
1168
1184
/// .columns([Char::Character, Char::SizeW, Char::SizeH])
0 commit comments