예제 #1
0
 private DatabaseExpression(string column, DatabaseReference reference)
 {
     this.column      = column;
     this.sqlOperator = null;
     this.reference   = reference;
 }
예제 #2
0
 public static IDatabaseExpression AreEqualWithEscape(string column, string reference)
 => Compare(column, CompareMode.Equal, DatabaseReference.ToEqualsString(reference));
예제 #3
0
 public static IDatabaseExpression AreNotEqual(string column, DatabaseReference reference)
 => Compare(column, CompareMode.NotEqual, reference);
예제 #4
0
 public static IDatabaseExpression Compare(string column, CompareMode compare, DatabaseReference reference)
 => new DatabaseExpression(column, compare.ToSymbol(), reference);
예제 #5
0
 public static IDatabaseExpression IsNot(string column, DatabaseReference reference)
 => Not(new DatabaseExpression(column, reference));
예제 #6
0
 public static DatabaseExpression Is(string column, DatabaseReference reference)
 => new DatabaseExpression(column, reference);