func (t *Token) Unwrap() *Token {
	tx, ok := t.config.driver.(*txDriver)
	if !ok {
		panic("ent: Token is not a transactional entity")
	}
	t.config.driver = tx.drv
	return t
}
// Unwrap unwraps the entity that was returned from a transaction after it was closed,
// so that all next queries will be executed through the driver which created the transaction.
Unwrap unwraps the entity that was returned from a transaction after it was closed,
so that all next queries will be executed through the driver which created the transaction.
// Unwrap unwraps the entity that was returned from a transaction after it was closed // so that all next queries will be executed through the driver which created the transaction .
func (t *Token) Unwrap() *Token {
	tx, ok := t.config.driver.(*txDriver)
	if !ok {
		panic("ent: Token is not a transactional entity")
	}
	t.config.driver = tx.drv
	return t
}
func ( t * Token ) Unwrap ( ) * Token { tx , ok := t . config . driver . ( * txDriver ) if ! ok { panic ( " " ) } t . config . driver = tx . drv return t }
Unwrap unwraps the entity that was returned from a transaction after it was closed,
so that all next queries will be executed through the driver which created the transaction.
Unwrap unwraps the entity that was returned from a transaction after it was closed so that all next queries will be executed through the driver which created the transaction .