Search Results for

    Show / Hide Table of Contents

    Class PostgresNewArrayExpression

    Represents creating a new PostgreSQL array.

    Inheritance
    object
    PostgresNewArrayExpression
    Namespace: Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal
    Assembly: Npgsql.EntityFrameworkCore.PostgreSQL.dll
    Syntax
    public class PostgresNewArrayExpression : SqlExpression

    Constructors

    | Improve this Doc View Source

    PostgresNewArrayExpression(IReadOnlyList<SqlExpression>, Type, RelationalTypeMapping?)

    Creates a new instance of the PostgresNewArrayExpression class.

    Declaration
    public PostgresNewArrayExpression(IReadOnlyList<SqlExpression> expressions, Type type, RelationalTypeMapping? typeMapping)
    Parameters
    Type Name Description
    IReadOnlyList<><SqlExpression> expressions

    The values to initialize the elements of the new array.

    Type type

    The of the expression.

    RelationalTypeMapping? typeMapping

    The associated with the expression.

    Properties

    | Improve this Doc View Source

    Expressions

    The operator of this PostgreSQL binary operation.

    Declaration
    public virtual IReadOnlyList<SqlExpression> Expressions { get; }
    Property Value
    Type Description
    IReadOnlyList<><SqlExpression>

    Methods

    | Improve this Doc View Source

    Equals(object?)

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object? obj
    Returns
    Type Description
    bool
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    | Improve this Doc View Source

    Print(ExpressionPrinter)

    Declaration
    protected override void Print(ExpressionPrinter expressionPrinter)
    Parameters
    Type Name Description
    ExpressionPrinter expressionPrinter
    | Improve this Doc View Source

    Update(IReadOnlyList<SqlExpression>)

    Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression.

    Declaration
    public virtual PostgresNewArrayExpression Update(IReadOnlyList<SqlExpression> expressions)
    Parameters
    Type Name Description
    IReadOnlyList<><SqlExpression> expressions

    The values to initialize the elements of the new array.

    Returns
    Type Description
    PostgresNewArrayExpression

    This expression if no children changed, or an expression with the updated children.

    | Improve this Doc View Source

    VisitChildren(ExpressionVisitor)

    Declaration
    protected override Expression VisitChildren(ExpressionVisitor visitor)
    Parameters
    Type Name Description
    ExpressionVisitor visitor
    Returns
    Type Description
    Expression
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright 2023 The Npgsql Development Team