private DatabaseExpression(string column, DatabaseReference reference) { this.column = column; this.sqlOperator = null; this.reference = reference; }
public static IDatabaseExpression AreEqualWithEscape(string column, string reference) => Compare(column, CompareMode.Equal, DatabaseReference.ToEqualsString(reference));
public static IDatabaseExpression AreNotEqual(string column, DatabaseReference reference) => Compare(column, CompareMode.NotEqual, reference);
public static IDatabaseExpression Compare(string column, CompareMode compare, DatabaseReference reference) => new DatabaseExpression(column, compare.ToSymbol(), reference);
public static IDatabaseExpression IsNot(string column, DatabaseReference reference) => Not(new DatabaseExpression(column, reference));
public static DatabaseExpression Is(string column, DatabaseReference reference) => new DatabaseExpression(column, reference);