Skip to main content

getResourcesWithOData

getResourcesWithOData<T>(resourceName, oDataConfig): Promise<T[]>

Retrieves a list of resources from the specified table using OData query configuration.

Type Parameters​

T​

T extends WithId

The type of resource returned, extending WithId.

Parameters​

resourceName​

string

The name of the resource to query.

oDataConfig​

ODataConfig

Configuration object defining how resources should be queried.

Returns​

Promise<T[]>

A promise resolving to an array of resources matching the OData query.