Skip to main content

sample_data

Function sample_data 

Source
pub async fn sample_data(
    pool: &AnyPool,
    backend: DbBackend,
    table: &str,
    limit: u32,
) -> Result<Vec<Value>, McpSqlError>
Expand description

Sample N rows from a table.