``` # use sea_orm::{error::*, tests_cfg::*, *}; # # #[smol_potat::main] # #[cfg(all(feature = "mock", feature = "macros"))] # pub async fn main() -> Result<(), DbErr> { # # let db = MockDatabase::new(DbBackend::Postgres) # .append_query_results([[ # maplit::btreemap! { # "cake_name" => Into:: ::into("Chocolate Forest"), # }, # maplit::btreemap! { #
(self)
| 334 | /// # } |
| 335 | /// ``` |
| 336 | pub fn into_values<T, C>(self) -> Selector<SelectGetableValue<T, C>> |
| 337 | where |
| 338 | T: TryGetableMany, |
| 339 | C: strum::IntoEnumIterator + sea_query::Iden, |
| 340 | { |
| 341 | Selector::<SelectGetableValue<T, C>>::with_columns(self.query) |
| 342 | } |
| 343 | |
| 344 | /// ``` |
| 345 | /// # use sea_orm::{error::*, tests_cfg::*, *}; |