Skip to content

Function: getSearchableProperties() ​

getSearchableProperties(target): string[]

Defined in: decorators/odata-searchable.decorator.ts:30

Get the list of searchable property names for a given entity class. Returns an empty array if no properties are decorated with @ODataSearchable().

Parameters ​

target ​

new (...args) => unknown

Returns ​

string[]