before deleting Rules
This commit is contained in:
18
CouchDB/Selectors/Equals.cs
Normal file
18
CouchDB/Selectors/Equals.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
namespace CouchDB.Selectors
|
||||
{
|
||||
public class Equals
|
||||
{
|
||||
private readonly string key;
|
||||
private readonly string value;
|
||||
internal Equals(string key, string value)
|
||||
{
|
||||
this.key = key;
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return $"{{ \"{key}\": {{ \"$eq\": {value}}} }}";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user