Create a new Client instance with the same configuration that created this configuration.
(&self)
| 116 | /// Create a new Client instance with the same configuration that created |
| 117 | /// this configuration. |
| 118 | pub async fn new_connection(&self) -> Result<Self, SqlServerError> { |
| 119 | Self::connect(self.config.clone()).await |
| 120 | } |
| 121 | |
| 122 | pub async fn connect_raw( |
| 123 | config: Config, |