Back

How would you use listExecutions?

  • 0
  • Functions
TernaryBash
3 Sep, 2024, 03:12

Here is the docs for

TypeScript
functionId: string,
queries?: string[],
search?: string,
): Promise<Models.ExecutionList>```

I understand functionId, but what about queries and search? What are you able to query and search for? The logs, the request? This function seems awesome, but I have no idea how you'd use it unlike using listDocuments which is self explainable.
TL;DR
Developers are curious about using the listExecutions function in Appwrite. They are wondering what they can query and search for using this function, as it is not as self-explanatory as listDocuments. They want to know if they can access logs or requests through this function.
TernaryBash
3 Sep, 2024, 03:12

How would you use listExecutions?

TernaryBash
3 Sep, 2024, 03:16

Image a document has an event that invokes the function called. Is there meta-data attached to the execution of the documentId that invoked it or something of the link. I have been staing away from Appwrite functions but I am starting to dip my toes into it.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more