We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b25c7e commit f49c28cCopy full SHA for f49c28c
src/jobs/jobsApiClient.ts
@@ -54,4 +54,13 @@ export default abstract class JobsApiClient {
54
* @throws {MindsDbError} - Something went wrong while dropping the job.
55
*/
56
abstract dropJob(name: string, project: string): Promise<void>;
57
+
58
+ /**
59
+ * Lists all jobs from MindsDB.
60
+ * @param {string} name - Name of the job.
61
+ * @param {string} project - Project the job belongs to.
62
+ * @returns {Promise<void>} - Resolves after all the jobs are listed.
63
+ * @throws {MindsDbError} - Something went wrong while listing the job.
64
+ */
65
+ abstract list(name?: string, project?: string): Promise<Array<Job>>;
66
}
0 commit comments