pub fn assert_eq<'a, DB>(
columns: &[Column],
fetched_rows: &'a [<DB as Database>::Row],
rows: &[Vec<RowValue>],
) -> Result<()>where
DB: Database,
usize: ColumnIndex<<DB as Database>::Row>,
bool: Type<DB> + Decode<'a, DB>,
i8: Type<DB> + Decode<'a, DB>,
i16: Type<DB> + Decode<'a, DB>,
i32: Type<DB> + Decode<'a, DB>,
i64: Type<DB> + Decode<'a, DB>,
f32: Type<DB> + Decode<'a, DB>,
f64: Type<DB> + Decode<'a, DB>,
String: Type<DB> + Decode<'a, DB>,
Vec<u8>: Type<DB> + Decode<'a, DB>,
DateTime<Utc>: Type<DB> + Decode<'a, DB>,
NaiveDateTime: Type<DB> + Decode<'a, DB>,
NaiveDate: Type<DB> + Decode<'a, DB>,
Expand description
Asserts fetched_rows are equal to rows