Class PostgresArrayIndexExpression
An SQL expression that represents an indexing into a PostgreSQL array.
Inheritance
object
PostgresArrayIndexExpression
Assembly: Npgsql.EntityFrameworkCore.PostgreSQL.dll
Syntax
public class PostgresArrayIndexExpression : SqlExpression, IEquatable<PostgresArrayIndexExpression>
Constructors
|
Improve this Doc
View Source
PostgresArrayIndexExpression(SqlExpression, SqlExpression, Type, RelationalTypeMapping?)
Declaration
public PostgresArrayIndexExpression(SqlExpression array, SqlExpression index, Type type, RelationalTypeMapping? typeMapping)
Parameters
Type |
Name |
Description |
SqlExpression |
array |
The array tp index into.
|
SqlExpression |
index |
An position in the array to index into.
|
Type |
type |
The of the expression.
|
RelationalTypeMapping? |
typeMapping |
The associated with the expression.
|
Properties
|
Improve this Doc
View Source
Array
Declaration
public virtual SqlExpression Array { get; }
Property Value
Type |
Description |
SqlExpression |
|
|
Improve this Doc
View Source
Index
Declaration
public virtual SqlExpression Index { get; }
Property Value
Type |
Description |
SqlExpression |
|
Methods
|
Improve this Doc
View Source
Equals(PostgresArrayIndexExpression?)
Declaration
public virtual bool Equals(PostgresArrayIndexExpression? other)
Parameters
Returns
|
Improve this Doc
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
Type |
Name |
Description |
object? |
obj |
|
Returns
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
|
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
ToString()
Declaration
public override string ToString()
Returns
|
Improve this Doc
View Source
Update(SqlExpression, 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 PostgresArrayIndexExpression Update(SqlExpression array, SqlExpression index)
Parameters
Type |
Name |
Description |
SqlExpression |
array |
The Array property of the result.
|
SqlExpression |
index |
The Index property of the result.
|
Returns
|
Improve this Doc
View Source
VisitChildren(ExpressionVisitor)
Declaration
protected override Expression VisitChildren(ExpressionVisitor visitor)
Parameters
Type |
Name |
Description |
ExpressionVisitor |
visitor |
|
Returns
Type |
Description |
Expression |
|
Implements
IEquatable<>