Difference between revisions of "Template: GetMaxPrivateEditionReleaseDate"
From Genesys Documentation
(Created page with "{{#cargo_query: tables=ComponentRN,Component |join on=ComponentRN.ComponentId HOLDS Component.Id |fields=PrivateEditionReleaseDate |where=Component.Name="{{{1}}}" }}") |
|||
Line 2: | Line 2: | ||
tables=ComponentRN,Component | tables=ComponentRN,Component | ||
|join on=ComponentRN.ComponentId HOLDS Component.Id | |join on=ComponentRN.ComponentId HOLDS Component.Id | ||
− | |fields=PrivateEditionReleaseDate | + | |fields=MAX(PrivateEditionReleaseDate) |
− | |where= | + | |where=ComponentRN.ComponentId="{{{1}}}" |
}} | }} |
Revision as of 17:51, April 11, 2022
A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?
Query: SELECT MAX(PrivateEditionReleaseDate) FROM `cargo__ComponentRN` LEFT OUTER JOIN `cargo__Component` ON ((`cargo__ComponentRN`.`ComponentId` HOLDS `cargo__Component`.`Id`)) WHERE `cargo__ComponentRN`.`ComponentId`="{{{1}}}" ORDER BY 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 `cargo__ComponentRN`.`ComponentId`="{{{1' at line 1 (127.0.0.1)