public T[]? SearchRecords(
string sortField,
bool ascending,
StringComparison comparison = StringComparison.OrdinalIgnoreCase,
params IRecordFilter?[]? recordFilters
)
Public Function SearchRecords (
sortField As String,
ascending As Boolean,
Optional comparison As StringComparison = StringComparison.OrdinalIgnoreCase,
ParamArray recordFilters As IRecordFilter()
) As T()
public:
array<T>^ SearchRecords(
String^ sortField,
bool ascending,
StringComparison comparison = StringComparison::OrdinalIgnoreCase,
... array<IRecordFilter^>^ recordFilters
)
function SearchRecords(sortField, ascending, comparison, ... recordFilters);
This function searches records locally after query from database, this way Search functionality will work even with fields that are modeled with the EncryptDataAttribute and use restrictions not being = or =/=. Primary keys for this function will not be cached server-side and this function will be slower and more expensive than similar calls to QueryRecords(String, Boolean, Int32, Int32, IRecordFilter). Usage should be restricted to cases searching for field data that has been modeled with the EncryptDataAttribute.
This function does not paginate records, instead a full list of search records is returned. User can cache returned records and page through them using the GetPageOfRecords(T, Int32, Int32) function. As a result, usage should be restricted to smaller data sets.