MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / dump_bytes

Method dump_bytes

src/pglite/server.rs:119–121  ·  view source on GitHub ↗
(&self, options: PgDumpOptions)

Source from the content-addressed store, hash-verified

117 /// Run the bundled WASIX `pg_dump` and return UTF-8 SQL bytes.
118 #[cfg(feature = "extensions")]
119 pub fn dump_bytes(&self, options: PgDumpOptions) -> Result<Vec<u8>> {
120 Ok(self.dump_sql(options)?.into_bytes())
121 }
122
123 /// Request shutdown and wait for the listener thread to exit.
124 ///

Callers

nothing calls this directly

Calls 1

dump_sqlMethod · 0.45

Tested by

no test coverage detected