Get a tuple value from the query result with prefixed column name
(&self, pre: &str, cols: &[String])
| 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> |
no test coverage detected