MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / new_connection

Method new_connection

src/sql-server-util/src/lib.rs:118–120  ·  view source on GitHub ↗

Create a new Client instance with the same configuration that created this configuration.

(&self)

Source from the content-addressed store, hash-verified

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,

Callers 1

snapshotMethod · 0.45

Calls 2

connectFunction · 0.50
cloneMethod · 0.45

Tested by

no test coverage detected