19 namespace Deveel.Data.Sql.Expressions {
36 throw new InvalidOperationException(
"Cannot reverse a non conditional operator.");
50 return type.IsAny() || type.IsAll();
102 throw new ArgumentException();
119 throw new ArgumentException();
136 throw new ArgumentException();
140 if (type.IsSubQuery()) {
141 var plainType = type.SubQueryPlainType();
142 var invType = plainType.Inverse();
145 return invType.Any();
147 return invType.All();
177 throw new ArgumentException();
static SqlExpressionType Any(this SqlExpressionType type)
static SqlExpressionType Reverse(this SqlExpressionType type)
static bool IsPattern(this SqlExpressionType type)
static SqlExpressionType All(this SqlExpressionType type)
static SqlExpressionType Inverse(this SqlExpressionType type)
SqlExpressionType
All the possible type of SqlExpression supported
static bool IsSubQuery(this SqlExpressionType type)
static bool IsAll(this SqlExpressionType type)
static bool IsAny(this SqlExpressionType type)
static bool IsLogical(this SqlExpressionType type)
static SqlExpressionType SubQueryPlainType(this SqlExpressionType type)