Struct couchdb::action::PostDatabase
[−]
[src]
pub struct PostDatabase<'a, P, T> where P: IntoDatabasePath, T: 'a + Serialize {
// some fields omitted
}
Action to create a document.
Return
This action returns the new document's revision and id.
Errors
The following are some of the errors that may occur as a result of executing this action:
Error::NotFound
: The database does not exist.Error::Unauthorized
: The client is unauthorized.