macro_rules! mock_rows {
[$( {$($key:literal => $val:literal),* $(,)?} ),* $(,)?] => { ... };
}Expand description
Convenience macro for building mock table rows.
ยงExample
use sql_composer::mock_rows;
let rows = mock_rows![
{"id" => "1", "name" => "Alice"},
{"id" => "2", "name" => "Bob"},
];