MCPcopy Create free account
hub / github.com/SeaQL/sea-orm / into_values

Method into_values

src/executor/select.rs:336–342  ·  view source on GitHub ↗

``` # 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)

Source from the content-addressed store, hash-verified

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::*, *};

Callers 1

transformMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected