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

Method try_get_many

src/executor/query.rs:127–132  ·  view source on GitHub ↗

Get a tuple value from the query result with prefixed column name

(&self, pre: &str, cols: &[String])

Source from the content-addressed store, hash-verified

125
126 /// Get a tuple value from the query result with prefixed column name
127 pub fn try_get_many<T>(&self, pre: &str, cols: &[String]) -> Result<T, DbErr>
128 where
129 T: TryGetableMany,
130 {
131 Ok(T::try_get_many(self, pre, cols)?)
132 }
133
134 /// Get a tuple value from the query result based on the order in the select expressions
135 pub fn try_get_many_by_index<T>(&self) -> Result<T, DbErr>

Callers 2

exec_insertFunction · 0.80

Calls 1

Tested by

no test coverage detected