Difference between revisions of "Template: GetContainers"
Line 5: | Line 5: | ||
|join on=ComponentRN.ComponentId HOLDS Component.Id | |join on=ComponentRN.ComponentId HOLDS Component.Id | ||
|fields=Component.Name | |fields=Component.Name | ||
− | |where=ComponentId HOLDS ' | + | |where=ComponentId HOLDS '{{{ComponentId|}}}' AND PrivateEditionReleaseDate="{{{PrivateEditionReleaseDate|}}}" AND ComponentRN._pageNamespace="0" |
}} | }} | ||
</td> | </td> | ||
Line 12: | Line 12: | ||
tables=ComponentRN | tables=ComponentRN | ||
|fields=ReleaseNumber | |fields=ReleaseNumber | ||
− | |where=ComponentId HOLDS ' | + | |where=ComponentId HOLDS '{{{ComponentId|}}}' AND PrivateEditionReleaseDate="{{{PrivateEditionReleaseDate|}}}" AND ComponentRN._pageNamespace="0" |
}} | }} | ||
</td> | </td> | ||
<td> | <td> | ||
− | + | {{{PrivateEditionReleaseDate|}}} | |
</td> | </td> | ||
<td> | <td> | ||
Line 23: | Line 23: | ||
|fields=RNElements.Filename | |fields=RNElements.Filename | ||
|format=ul | |format=ul | ||
− | |where=Component.Id="{{{ComponentId|}}}" AND PrivateEditionReleaseDate=" | + | |where=Component.Id="{{{ComponentId|}}}" AND PrivateEditionReleaseDate="{{{PrivateEditionReleaseDate|}}}" AND Type="helm" AND ComponentRN._pageNamespace="0" |
}} | }} | ||
Revision as of 19:50, April 11, 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" 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 `ReleaseNumber` AS `ReleaseNumber` FROM `cargo__ComponentRN` WHERE ComponentId HOLDS AND PrivateEditionReleaseDate="" AND `cargo__ComponentRN`.`_pageNamespace`="0" ORDER BY `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)
Query: SELECT `cargo__RNElements`.`Filename` AS `Filename` FROM `cargo__RNElements` LEFT OUTER JOIN `cargo__ComponentRN` ON ((`cargo__RNElements`.`Version`=`cargo__ComponentRN`.`ReleaseNumber`)) LEFT OUTER JOIN `cargo__Component` ON ((`cargo__ComponentRN`.`ComponentId` HOLDS `cargo__Component`.`Id`)) WHERE `cargo__Component`.`Id`="" AND PrivateEditionReleaseDate="" AND Type="helm" AND `cargo__ComponentRN`.`_pageNamespace`="0" 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`)) WHERE `cargo__Component`.`Id`="" AND PrivateEd' at line 1 (127.0.0.1)