MCPcopy Create free account
hub / github.com/apache/paimon-rust / get_database

Method get_database

crates/paimon/src/api/rest_api.rs:242–246  ·  view source on GitHub ↗

Get database information.

(&self, name: &str)

Source from the content-addressed store, hash-verified

240
241 /// Get database information.
242 pub async fn get_database(&self, name: &str) -> Result<GetDatabaseResponse> {
243 validate_non_empty(name, "database name")?;
244 let path = self.resource_paths.database(name);
245 self.client.get(&path, None::<&[(&str, &str)]>).await
246 }
247
248 /// Alter database configuration.
249 pub async fn alter_database(

Callers 1

mainFunction · 0.45

Calls 3

validate_non_emptyFunction · 0.85
databaseMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected