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

Method with_isolation

src/postgres-client/src/lib.rs:131–134  ·  view source on GitHub ↗

Sets the resolver that picks the isolation level applied to each new connection.

(mut self, isolation: IsolationLevelFn)

Source from the content-addressed store, hash-verified

129
130 /// Sets the resolver that picks the isolation level applied to each new connection.
131 pub fn with_isolation(mut self, isolation: IsolationLevelFn) -> Self {
132 self.isolation = isolation;
133 self
134 }
135}
136
137/// A Postgres client wrapper that uses deadpool as a connection pool.

Callers 1

openMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected