Class LikeCondition
- Namespace
- The.SQL.QIR.Conditions
- Assembly
- Instagile.dll
[MessagePackObject(false)]
public sealed record LikeCondition : Condition, IEquatable<Condition>, IEquatable<LikeCondition>
- Inheritance
-
LikeCondition
- Implements
- Inherited Members
Constructors
LikeCondition(Value, Value, bool, bool, bool)
public LikeCondition(Value Left, Value Right, bool FuzzPrefix = false, bool FuzzSuffix = false, bool Sanitise = false)
Parameters
Properties
FuzzPrefix
[Key(2)]
public bool FuzzPrefix { get; init; }
Property Value
FuzzSuffix
[Key(3)]
public bool FuzzSuffix { get; init; }
Property Value
Joins
Joins required to reach this condition.
[IgnoreMember]
public override IEnumerable<Join> Joins { get; }
Property Value
Left
[Key(0)]
public Value Left { get; init; }
Property Value
Right
[Key(1)]
public Value Right { get; init; }
Property Value
Sanitise
[Key(4)]
public bool Sanitise { get; init; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
Update(Value, Value, bool, bool, bool)
public LikeCondition Update(Value left, Value right, bool fuzzPrefix, bool fuzzSuffix, bool sanitise)
Parameters
Returns
WithSource(Table, Table)
public override Condition WithSource(Table oldSource, Table newSource)