File tree Expand file tree Collapse file tree
src/WebExpress.WebIndex/Queries Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,6 +91,22 @@ public interface IQuery<TIndexItem>
9191 /// </returns>
9292 IQuery < TIndexItem > WhereEquals ( Expression < Func < TIndexItem , string > > selector , string value ) ;
9393
94+ /// <summary>
95+ /// Filters the query to include only items where the specified string property
96+ /// equals the given value.
97+ /// </summary>
98+ /// <param name="selector">
99+ /// An expression that selects the string property of the index item to compare.
100+ /// </param>
101+ /// <param name="value">
102+ /// The value to compare against the selected property. Can be null to match items
103+ /// with a null property value.
104+ /// </param>
105+ /// <returns>
106+ /// A query that returns items where the selected property equals the specified value.
107+ /// </returns>
108+ IQuery < TIndexItem > WhereEquals ( Expression < Func < TIndexItem , Guid > > selector , Guid value ) ;
109+
94110 /// <summary>
95111 /// Filters the query to include only items where the specified string property equals
96112 /// the given value, using a case-insensitive comparison.
You can’t perform that action at this time.
0 commit comments