Difference between revisions of "Template: GetMaxPrivateEditionReleaseDate"

From Genesys Documentation
Jump to: navigation, search
Line 4: Line 4:
 
|join on=ComponentRN.ComponentId HOLDS Component.Id
 
|join on=ComponentRN.ComponentId HOLDS Component.Id
 
|fields=ComponentRN.ComponentId=ComponentId,MAX(PrivateEditionReleaseDate)=PrivateEditionReleaseDate
 
|fields=ComponentRN.ComponentId=ComponentId,MAX(PrivateEditionReleaseDate)=PrivateEditionReleaseDate
|where=ComponentId HOLDS '{{{ComponentId}}}' AND PrivateEditionReleaseDate IS NOT NULL
+
|where=ComponentId HOLDS '1bff5e74-a889-4bb8-b75a-8d721f63766e' AND PrivateEditionReleaseDate="2022-04-20"
|format=template
+
|format=table
 
|template=GetContainers
 
|template=GetContainers
 
|named args=yes
 
|named args=yes
 
}}
 
}}

Revision as of 19:45, April 11, 2022

A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Query: SELECT `cargo__ComponentRN`.`ComponentId` AS `ComponentId`,MAX(PrivateEditionReleaseDate) AS `PrivateEditionReleaseDate` FROM `cargo__ComponentRN` LEFT OUTER JOIN `cargo__Component` ON ((`cargo__ComponentRN`.`ComponentId` HOLDS `cargo__Component`.`Id`)) WHERE ComponentId HOLDS '1bff5e74-a889-4bb8-b75a-8d721f63766e' AND PrivateEditionReleaseDate="2022-04-20" ORDER BY `cargo__ComponentRN`.`ComponentId`,MAX(PrivateEditionReleaseDate) 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 '1bff5e74-a889-4bb8-b7' at line 1 (127.0.0.1)