Get the SQL query by name using the loader # Errors If the query can't be found
(&'a self, name: &'a str)
| 14 | /// # Errors |
| 15 | /// If the query can't be found |
| 16 | fn get_query<'a>(&'a self, name: &'a str) -> DbResult<&'a str> { |
| 17 | get_query(self.get_loader(), name) |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | /// Get the SQL query by name using a loader |