mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-06-23 15:30:34 -04:00
Delete in filter
This commit is contained in:
parent
13ddeaaf0a
commit
238fdf5d40
@ -84,8 +84,6 @@ public abstract record Filter<T> : Filter
|
|||||||
|
|
||||||
public record Has(string Property, object Value) : Filter<T>;
|
public record Has(string Property, object Value) : Filter<T>;
|
||||||
|
|
||||||
public record In(string Property, object[] Value) : Filter<T>;
|
|
||||||
|
|
||||||
public record Lambda(Expression<Func<T, bool>> Inner) : Filter<T>;
|
public record Lambda(Expression<Func<T, bool>> Inner) : Filter<T>;
|
||||||
|
|
||||||
public static class FilterParsers
|
public static class FilterParsers
|
||||||
@ -247,11 +245,6 @@ public abstract record Filter<T> : Filter
|
|||||||
return ParseHelper.Error<object>("Can't use 'has' on a non-list.");
|
return ParseHelper.Error<object>("Can't use 'has' on a non-list.");
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
// public static readonly Parser<Filter<T>> In = _GetOperationParser(
|
|
||||||
// Parse.IgnoreCase("in").Token(),
|
|
||||||
// (property, value) => new In(property, value)
|
|
||||||
// );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Filter<T>? From(string? filter)
|
public static Filter<T>? From(string? filter)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user