An alternative to UBB.threads
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
FLocal/Core/DB/conditions/ComparisonCondition.cs

26 lines
728 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FLocal.Core.DB.conditions {
class ComparisonCondition : SimpleCondition {
public readonly ColumnSpec left;
public readonly ComparisonType comparison;
public readonly ColumnOrValue right;
public ComparisonCondition(ColumnSpec left, ComparisonType comparison, ColumnSpec right) {
this.left = left;
this.comparison = comparison;
this.right = ColumnOrValue.createColumn(right);
}
public ComparisonCondition(ColumnSpec left, ComparisonType comparison, string right) {
this.left = left;
this.comparison = comparison;
this.right = ColumnOrValue.createValue(right);
}
}
}