getKilobyteSizeOfQuery

Function

Returns the size in kilobytes of a query string or a SearchQueryBuilder. This is used to later determine if a query is too large or almost too large to be sent to the server.

  • getKilobyteSizeOfQuery(query: string | SearchQueryBuilder) : Kilobyte

Parameters

Parameter Type Default Notes
query Required string | SearchQueryBuilder

Returns

Property Type Notes

Function defined in common/src/search/utils.ts:386