databeam

Module query

Expand description

Types and traits for the query family of functions and macros.

Structsยง

  • A single SQL query that will map its results to an owned Rust type.
  • A single SQL query as a prepared statement. Returned by query().
  • A single SQL query as a prepared statement, mapping results using [FromRow]. Returned by [query_as()].
  • A single SQL query as a prepared statement which extracts only the first column of each row. Returned by [query_scalar()].