Skip to main content

getGrazingIntentions

@svenvw/fdm-source


@svenvw/fdm-source / fdm-core/src / getGrazingIntentions

Function: getGrazingIntentions()

getGrazingIntentions(fdm, principal_id, b_id_farm): Promise<any[]>

Defined in: fdm-core/src/grazing_intention.ts:117

Alpha

Retrieves all grazing intentions for a specified farm.

Parameters

fdm

any

The FDM instance providing the connection to the database.

principal_id

any

The ID of the principal making the request.

b_id_farm

any

The unique identifier of the farm.

Returns

Promise<any[]>

A Promise resolving to an array of grazing intention objects.