Difference between revisions of "Template: GetContainers"
Line 50: | Line 50: | ||
|format=ul | |format=ul | ||
|where=ComponentRN.ComponentId HOLDS '{{{ComponentId|}}}' AND PrivateEditionReleaseDate="{{{PrivateEditionReleaseDate|}}}" AND Type="docker" AND ComponentRN._pageNamespace="0" | |where=ComponentRN.ComponentId HOLDS '{{{ComponentId|}}}' AND PrivateEditionReleaseDate="{{{PrivateEditionReleaseDate|}}}" AND Type="docker" AND ComponentRN._pageNamespace="0" | ||
− | |default={{#cargo_query:tables=ComponentRN | + | |default={{#arraymap:{{#cargo_query:tables=ComponentRN |
|fields=Containers | |fields=Containers | ||
|where=ComponentRN.ComponentId HOLDS '{{{ComponentId|}}}' AND PrivateEditionReleaseDate="{{{PrivateEditionReleaseDate|}}}" AND ComponentRN._pageNamespace="0" | |where=ComponentRN.ComponentId HOLDS '{{{ComponentId|}}}' AND PrivateEditionReleaseDate="{{{PrivateEditionReleaseDate|}}}" AND ComponentRN._pageNamespace="0" | ||
+ | }}|*|x|{{#switch:{{#sub:x|-3|}}|tgz=*x{{#switch:{{NAMESPACENUMBER}}|620={{SuperscriptFlag}}|#default=}}|#default=}}|\n }} | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</td> | </td> | ||
<tr> | <tr> |
Revision as of 00:17, April 12, 2022
Query: SELECT `cargo__Component`.`Name` AS `Name` FROM `cargo__ComponentRN` LEFT OUTER JOIN `cargo__Component` ON ((`cargo__ComponentRN`.`ComponentId` HOLDS `cargo__Component`.`Id`)) WHERE ComponentId HOLDS AND PrivateEditionReleaseDate="" AND `cargo__ComponentRN`.`_pageNamespace`="0" GROUP BY `Name` ORDER BY `cargo__Component`.`Name` LIMIT 100 Function: CargoSQLQuery::run Error: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'HOLDS `cargo__Component`.`Id`)) WHERE ComponentId HOLDS AND PrivateEditionR' at line 1 (127.0.0.1)
Query: SELECT MAX(ReleaseNumber) FROM `cargo__ComponentRN` WHERE ComponentId HOLDS AND PrivateEditionReleaseDate="" AND `cargo__ComponentRN`.`_pageNamespace`="0" ORDER BY MAX(ReleaseNumber) LIMIT 100 Function: CargoSQLQuery::run Error: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'HOLDS AND PrivateEditionReleaseDate="" AND `cargo__ComponentRN`.`_pageNamespa' at line 1 (127.0.0.1)
No results
Query: SELECT `cargo__RNElements`.`Filename` AS `Filename` FROM `cargo__ComponentRN` LEFT OUTER JOIN `cargo__Component` ON ((`cargo__ComponentRN`.`ComponentId` HOLDS `cargo__Component`.`Id`)) LEFT OUTER JOIN `cargo__RNElements` ON ((`cargo__Component`.`IpName`=`cargo__RNElements`.`IpName`)) WHERE `cargo__ComponentRN`.`ComponentId` HOLDS AND PrivateEditionReleaseDate="" AND Type="helm" AND `cargo__ComponentRN`.`_pageNamespace`="0" GROUP BY `cargo__RNElements`.`Version`,`cargo__RNElements`.`Filename` HAVING MAX(`cargo__ComponentRN`.`ReleaseNumber`)=`cargo__RNElements`.`Version` ORDER BY `cargo__RNElements`.`Filename` LIMIT 100 Function: CargoSQLQuery::run Error: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'HOLDS `cargo__Component`.`Id`)) LEFT OUTER JOIN `cargo__RNElements` ON ((`cargo_' at line 1 (127.0.0.1)
Query: SELECT `cargo__RNElements`.`Filename` AS `Filename` FROM `cargo__ComponentRN` LEFT OUTER JOIN `cargo__Component` ON ((`cargo__ComponentRN`.`ComponentId` HOLDS `cargo__Component`.`Id`)) LEFT OUTER JOIN `cargo__RNElements` ON ((`cargo__Component`.`IpName`=`cargo__RNElements`.`IpName`)) WHERE `cargo__ComponentRN`.`ComponentId` HOLDS AND PrivateEditionReleaseDate="" AND Type="docker" AND `cargo__ComponentRN`.`_pageNamespace`="0" GROUP BY `cargo__RNElements`.`Version`,`cargo__RNElements`.`Filename` HAVING MAX(`cargo__ComponentRN`.`ReleaseNumber`)=`cargo__RNElements`.`Version` ORDER BY `cargo__RNElements`.`Filename` LIMIT 100 Function: CargoSQLQuery::run Error: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'HOLDS `cargo__Component`.`Id`)) LEFT OUTER JOIN `cargo__RNElements` ON ((`cargo_' at line 1 (127.0.0.1)