pub fn create_database(&mut self, name: String) -> Arc<RwLock<RequestStatus<(), ()>>> {
        self.request(Method::Post,
                           vec!(String::from_str("cluster"),
                                String::from_str("database_configs"),
                                name),
                           Some(vec!(("u", self.username), ("p", self.password))))
    }
/// Create a new database - requires cluster admin privileges
Create a new database - requires cluster admin privileges
Create a new database - requires cluster admin privileges
pub fn create_database(&mut self, name: String) -> Arc<RwLock<RequestStatus<(), ()>>> {
        self.request(Method::Post,
                           vec!(String::from_str("cluster"),
                                String::from_str("database_configs"),
                                name),
                           Some(vec!(("u", self.username), ("p", self.password))))
    }
pub fn create_database ( & mut self , name : String ) -> Arc < RwLock < RequestStatus < ( ) , ( ) > > > { self . request ( Method :: Post , vec ! ( String from_str ( " " ) String from_str ( " " ) name ) , Some ( vec ! ( ( " " self username ) ( " " self password ) ) ) ) }
Create a new database - requires cluster admin privileges
Create a new database - requires cluster admin privileges
&mut self
name
String
&mut self
name
String