Documentation
¶
Index ¶
- type Array
- func (array *Array) Children() []sql.Expression
- func (array *Array) Eval(ctx *sql.Context, row sql.Row) (interface{}, error)
- func (array *Array) IsNullable() bool
- func (array *Array) Resolved() bool
- func (array *Array) String() string
- func (array *Array) Type() sql.Type
- func (array *Array) WithChildren(children ...sql.Expression) (sql.Expression, error)
- func (array *Array) WithResolvedChildren(children []any) (any, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Array ¶
type Array struct {
// contains filtered or unexported fields
}
Array represents an ARRAY[...] expression.
func NewArray ¶
func NewArray(expressions []sql.Expression, unresolvedChildren vitess.Exprs, unresolvedIndexes []int, coercedType sql.Type) (*Array, error)
NewArray returns a new *Array.
func (*Array) Children ¶
func (array *Array) Children() []sql.Expression
Children implements the sql.Expression interface.
func (*Array) IsNullable ¶
IsNullable implements the sql.Expression interface.
func (*Array) WithChildren ¶
func (array *Array) WithChildren(children ...sql.Expression) (sql.Expression, error)
WithChildren implements the sql.Expression interface.
Click to show internal directories.
Click to hide internal directories.