func (d *DGraphAccess) ForReadWrite(ctx context.Context) *DGraphAccess {
	return &DGraphAccess{
		client:       d.client,
		txn:          d.client.NewTxn(),
		ctx:          ctx,
		traceEnabled: d.traceEnabled,
	}
}
// ForReadWrite returns a copy of DGraphAccess ready to perform mutations.
ForReadWrite returns a copy of DGraphAccess ready to perform mutations.
// ForReadWrite returns a copy of DGraphAccess ready to perform mutations .
func (d *DGraphAccess) ForReadWrite(ctx context.Context) *DGraphAccess {
	return &DGraphAccess{
		client:       d.client,
		txn:          d.client.NewTxn(),
		ctx:          ctx,
		traceEnabled: d.traceEnabled,
	}
}
func ( d * DGraphAccess ) ForReadWrite ( ctx context . Context ) * DGraphAccess { return & DGraphAccess { client : d . client , txn : d . client . NewTxn ( ) , ctx : ctx , traceEnabled : d . traceEnabled , } }
ForReadWrite returns a copy of DGraphAccess ready to perform mutations.
ForReadWrite returns a copy of DGraphAccess ready to perform mutations .