func (a AlterSchema) Do(d *DGraphAccess) error {
	if err := d.CheckState(); err != nil {
		return err
	}
	op := &api.Operation{Schema: a.Source}
	if d.traceEnabled {
		trace("AlterSchema", "src", a.Source)
	}
	return d.client.Alter(d.ctx, op)
}
// Do performs the alert operation on the client.
Do performs the alert operation on the client.
// Do performs the alert operation on the client .
func (a AlterSchema) Do(d *DGraphAccess) error {
	if err := d.CheckState(); err != nil {
		return err
	}
	op := &api.Operation{Schema: a.Source}
	if d.traceEnabled {
		trace("AlterSchema", "src", a.Source)
	}
	return d.client.Alter(d.ctx, op)
}
func ( a AlterSchema ) Do ( d * DGraphAccess ) error { if err := d . CheckState ( ) ; err != nil { return err } op := & api . Operation { Schema : a . Source } if d . traceEnabled { trace ( " " , " " , a . Source ) } return d . client . Alter ( d . ctx , op ) }
Do performs the alert operation on the client.
Do performs the alert operation on the client .