Module query
Expand description
Types and traits for the query family of functions and macros.
Structsยง
- Map
- A single SQL query that will map its results to an owned Rust type.
- Query
- A single SQL query as a prepared statement. Returned by
query(). - QueryAs
- A single SQL query as a prepared statement, mapping results using
FromRow. Returned byquery_as(). - Query
Scalar - A single SQL query as a prepared statement which extracts only the first column of each row.
Returned by
query_scalar().