Godeps/_workspace/src/gopkg.in/mgo.v2/bulk.go
func (b *Bulk) Run() (*BulkResult, error) {
	op := &insertOp{b.c.FullName, b.inserts, 0}
	if !b.ordered {
		op.flags = 1 // ContinueOnError
	}
	_, err := b.c.writeQuery(op)
	if err != nil {
		return nil, &bulkError{err}
	}
	return &BulkResult{}, nil
}
func (b *Bulk) Run() (*BulkResult, error) {
	op := &insertOp{b.c.FullName, b.inserts, 0}
	if !b.ordered {
		op.flags = 1 // ContinueOnError
	}
	_, err := b.c.writeQuery(op)
	if err != nil {
		return nil, &bulkError{err}
	}
	return &BulkResult{}, nil
}
func ( b * Bulk ) Run ( ) ( * BulkResult , error ) { op := & insertOp { b . c . FullName , b . inserts , 0 } if ! b . ordered { op . flags = 1 // ContinueOnError } _ , err := b . c . writeQuery ( op ) if err != nil { return nil , & bulkError { err } } return & BulkResult { } , nil }
// Run runs all the operations queued up.
Run runs all the operations queued up .