GALANTHUS / ABI FUNCTION REFERENCE
gln_get_standing_order_last_execution
Declared in <galanthus/c_api/gln_capi.h>.
GLN_API const char* GLN_CALL gln_get_standing_order_last_execution(
const gln_standing_order_t* in_standing_order);
Purpose
Returns the last execution date when available.
Return
Returns the provider's last execution date for the standing order when the row supplies one. Returns NULL when the optional field is not materialized or when the input handle is NULL.
| Type | Nullability | Ownership |
|---|---|---|
const char* | nullable | borrowed |
Parameters
| Name | Direction | Type | Nullability | Ownership |
|---|---|---|---|---|
in_standing_order | input | const gln_standing_order_t* | nullable | borrowed |
Execution Dates
Returns the provider's last execution date for the standing order when the row supplies one.
NULL means no last-execution date was materialized for the row. Interpret the omitted value together with the rest of the materialized schedule fields.
Notes
Passing NULL for in_standing_order is allowed and returns NULL.
NULL means the provider did not supply this optional field for the row.
The returned pointer is borrowed from the owning backend result envelope and becomes invalid when that envelope is destroyed.