Skip to main content

count

Function count 

Source
pub fn count(table: &str) -> i64
Expand description

Number of rows of table in the test database, for assert_difference.

ยงExamples

let posts = ocre::testing::count("posts");