Returns a [`SqlServerRowDecoder`] which can be used to decode [`tiberius::Row`]s into [`mz_repr::Row`]s that match the shape of the provided [`RelationDesc`].
(&self, desc: &RelationDesc)
| 123 | /// Returns a [`SqlServerRowDecoder`] which can be used to decode [`tiberius::Row`]s into |
| 124 | /// [`mz_repr::Row`]s that match the shape of the provided [`RelationDesc`]. |
| 125 | pub fn decoder(&self, desc: &RelationDesc) -> Result<SqlServerRowDecoder, SqlServerError> { |
| 126 | let decoder = SqlServerRowDecoder::try_new(self, desc)?; |
| 127 | Ok(decoder) |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | impl RustType<ProtoSqlServerTableDesc> for SqlServerTableDesc { |
no outgoing calls
no test coverage detected