Execute a SQL query using the extended protocol.
(
&mut self,
sql: &str,
params: &[Value],
options: Option<&QueryOptions>,
)
| 290 | |
| 291 | /// Execute a SQL query using the extended protocol. |
| 292 | pub fn query( |
| 293 | &mut self, |
| 294 | sql: &str, |
| 295 | params: &[Value], |
| 296 | options: Option<&QueryOptions>, |
| 297 | ) -> Result<Results> { |
| 298 | self.check_ready()?; |
| 299 | |
| 300 | self.query_internal(sql, params, options) |
| 301 | } |
| 302 | |
| 303 | fn query_internal( |
| 304 | &mut self, |
no test coverage detected