func (*ArrayLength) Type() sql.Type {
	return sql.Int32
}
Type implements the Expression interface.
package function
import (
	"fmt"
	"github.com/src-d/go-mysql-server/sql"
	"github.com/src-d/go-mysql-server/sql/expression"
)
type ArrayLength struct {
	expression.UnaryExpression
}
func NewArrayLength(array sql.Expression) sql.Expression {
	return &ArrayLength{expression.UnaryExpression{Child: array}}
}