Skip to main content

fetch_one_row_scoped

Function fetch_one_row_scoped 

Source
pub async fn fetch_one_row_scoped<'q>(
    pool: &PgPool,
    query: Query<'q, Postgres, PgArguments>,
) -> Result<PgRow, Error>
Expand description

Tenant-agnostic fetch_one for an untyped row query — the single-row sibling of fetch_optional_row_scoped, same connection discipline: request-dedicated connection when bound, plain pool otherwise, no scope invented.