func (c CreateNode) Do(d *DGraphAccess) (created bool, fail error) {
	if c.condition.Object != nil {
		return c.conditional(d)
	}
	err := c.unconditional(d)
	return true, err
}
// Do creates a new Node.
// Return an error if the mutation fails.
// Requires a DGraphAccess with a Write transaction.
Do creates a new Node.
Return an error if the mutation fails.
Requires a DGraphAccess with a Write transaction.
// Do creates a new Node . // Return an error if the mutation fails . // Requires a DGraphAccess with a Write transaction .
func (c CreateNode) Do(d *DGraphAccess) (created bool, fail error) {
	if c.condition.Object != nil {
		return c.conditional(d)
	}
	err := c.unconditional(d)
	return true, err
}
func ( c CreateNode ) Do ( d * DGraphAccess ) ( created bool , fail error ) { if c . condition . Object != nil { return c . conditional ( d ) } err := c . unconditional ( d ) return true , err }
Do creates a new Node.
Do creates a new Node .