зеркало из https://github.com/mozilla/treeherder.git
42 строки
1.3 KiB
JSON
42 строки
1.3 KiB
JSON
{
|
|
"selects": {
|
|
"job": {
|
|
"sql": "SELECT * FROM `job` WHERE id = ?",
|
|
"host": "master_host"
|
|
},
|
|
"jobs": {
|
|
"sql": "SELECT * FROM `job`",
|
|
"host": "master_host"
|
|
},
|
|
"job_artifact": {
|
|
"sql": "SELECT * FROM `job_artifact` WHERE job_id = ?",
|
|
"host": "master_host"
|
|
},
|
|
"job_log_urls": {
|
|
"sql": "SELECT * FROM `job_log_url` WHERE job_id = ?",
|
|
"host": "master_host"
|
|
},
|
|
"job_source": {
|
|
"sql": "SELECT rev.commit_timestamp,
|
|
res.push_timestamp,
|
|
rev.comments,
|
|
rev.repository_id,
|
|
rev.revision
|
|
FROM `revision` as rev
|
|
LEFT JOIN `revision_map` as revmap
|
|
ON rev.id = revmap.revision_id
|
|
LEFT JOIN `result_set` as res
|
|
ON revmap.result_set_id = res.id
|
|
LEFT JOIN `job`
|
|
ON job.result_set_id = res.id
|
|
WHERE job.id = ?
|
|
",
|
|
"host": "master_host"
|
|
},
|
|
"row_by_guid": {
|
|
"sql": "SELECT * FROM `job` WHERE `job_guid` = ?",
|
|
"host": "master_host"
|
|
}
|
|
}
|
|
}
|