func (db *DB) SetSecurity(ctx context.Context, security *Security) error {
	sec := &driver.Security{
		Admins:  driver.Members(security.Admins),
		Members: driver.Members(security.Members),
	}
	return db.driverDB.SetSecurity(ctx, sec)
}
// SetSecurity sets the database's security document.
// See http://couchdb.readthedocs.io/en/latest/api/database/security.html#put--db-_security
SetSecurity sets the database's security document.
// SetSecurity sets the database ' s security document . // See http : // couchdb . readthedocs . io / en / latest / api / database / security . html#put -- db - _security
func (db *DB) SetSecurity(ctx context.Context, security *Security) error {
	sec := &driver.Security{
		Admins:  driver.Members(security.Admins),
		Members: driver.Members(security.Members),
	}
	return db.driverDB.SetSecurity(ctx, sec)
}
func ( db * DB ) SetSecurity ( ctx context . Context , security * Security ) error { sec := & driver . Security { Admins : driver . Members ( security . Admins ) , Members : driver . Members ( security . Members ) , } return db . driverDB . SetSecurity ( ctx , sec ) }
SetSecurity sets the database's security document.
SetSecurity sets the database ' s security document .