Class PostgresRegexMatchExpression
Represents a PostgreSQL regular expression match expression.
Inheritance
object
PostgresRegexMatchExpression
Assembly: Npgsql.EntityFrameworkCore.PostgreSQL.dll
Syntax
public class PostgresRegexMatchExpression : SqlExpression, IEquatable<PostgresRegexMatchExpression>
Constructors
|
Improve this Doc
View Source
PostgresRegexMatchExpression(SqlExpression, SqlExpression, RegexOptions, RelationalTypeMapping?)
Declaration
public PostgresRegexMatchExpression(SqlExpression match, SqlExpression pattern, RegexOptions options, RelationalTypeMapping? typeMapping)
Parameters
Type |
Name |
Description |
SqlExpression |
match |
The expression to match.
|
SqlExpression |
pattern |
The pattern to match.
|
RegexOptions |
options |
The options for regular expression evaluation.
|
RelationalTypeMapping? |
typeMapping |
The type mapping for the expression.
|
Properties
|
Improve this Doc
View Source
Match
Declaration
public virtual SqlExpression Match { get; }
Property Value
Type |
Description |
SqlExpression |
|
|
Improve this Doc
View Source
Options
The options for regular expression evaluation.
Declaration
public virtual RegexOptions Options { get; }
Property Value
Type |
Description |
RegexOptions |
|
|
Improve this Doc
View Source
Pattern
Declaration
public virtual SqlExpression Pattern { get; }
Property Value
Type |
Description |
SqlExpression |
|
|
Improve this Doc
View Source
Type
Declaration
public override Type Type { get; }
Property Value
Methods
|
Improve this Doc
View Source
Equals(PostgresRegexMatchExpression?)
Declaration
public virtual bool Equals(PostgresRegexMatchExpression? other)
Parameters
Returns
|
Improve this Doc
View Source
Equals(object?)
Declaration
public override bool Equals(object? other)
Parameters
Type |
Name |
Description |
object? |
other |
|
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 PostgresRegexMatchExpression Update(SqlExpression match, SqlExpression pattern)
Parameters
Type |
Name |
Description |
SqlExpression |
match |
|
SqlExpression |
pattern |
|
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<>