func (db *DB) Security(ctx context.Context) (*Security, error) {
	s, err := db.driverDB.Security(ctx)
	if err != nil {
		return nil, err
	}
	return &Security{
		Admins:  Members(s.Admins),
		Members: Members(s.Members),
	}, err
}
// Security returns the database's security document.
// See http://couchdb.readthedocs.io/en/latest/api/database/security.html#get--db-_security
Security returns the database's security document.
// Security returns the database ' s security document . // See http : // couchdb . readthedocs . io / en / latest / api / database / security . html#get -- db - _security
func (db *DB) Security(ctx context.Context) (*Security, error) {
	s, err := db.driverDB.Security(ctx)
	if err != nil {
		return nil, err
	}
	return &Security{
		Admins:  Members(s.Admins),
		Members: Members(s.Members),
	}, err
}
func ( db * DB ) Security ( ctx context . Context ) ( * Security , error ) { s , err := db . driverDB . Security ( ctx ) if err != nil { return nil , err } return & Security { Admins : Members ( s . Admins ) , Members : Members ( s . Members ) , } , err }
Security returns the database's security document.
Security returns the database ' s security document .