SQL Inventory

List of all SQL mentioned in the code..

ValueCountFile:Line
'SELECT modified, content FROM output_cache WHERE id = :id'1
  • /install/vendor/smarty/demo/plugins/cacheresource.mysql.php
'SELECT modified FROM output_cache WHERE id = :id'1
  • /install/vendor/smarty/demo/plugins/cacheresource.mysql.php
'DELETE FROM output_cache WHERE ' . join(' AND ', $where)1
  • /install/vendor/smarty/demo/plugins/cacheresource.mysql.php
'SELECT modified FROM templates WHERE name = :name'1
  • /install/vendor/smarty/demo/plugins/resource.mysql.php
" SELECT opportunity.id AS 'opportunityId', contact.id AS `contactId` FROM `opportunity` JOIN contact_opportunity ON contact_opportunity.opportunity_id = opportunity.id AND contact_opportunity.deleted = 0 JOIN contact ON contact.id = contact_opportunity.contact_id AND contact.deleted = 0 WHERE contact.id IN ( SELECT MIN(contact.id) FROM `opportunity` JOIN contact_opportunity ON contact_opportunity.opportunity_id = opportunity.id AND contact_opportunity.deleted = 0 JOIN contact ON contact.id = contact_opportunity.contact_id AND contact.deleted = 0 GROUP BY opportunity.id ) AND opportunity.contact_id IS NULL AND opportunity.deleted = 0 "1
  • /upgrades/5.8/scripts/AfterUpgrade.php
" UPDATE `opportunity` SET contact_id = " . $pdo->quote($cId) . " WHERE id = " . $pdo->quote($oId) . " "1
  • /upgrades/5.8/scripts/AfterUpgrade.php
"SHOW INDEX FROM `note`"1
  • /upgrades/5.8/scripts/AfterUpgrade.php
"SHOW FULL COLUMNS FROM `" . $tableName . "` WHERE `Collation` <> 'utf8mb4_unicode_ci'"1
  • /upgrades/5.9/scripts/AfterUpgrade.php
"UPDATE `email_account` SET email_account.security = '' WHERE email_account.ssl = 0"1
  • /upgrades/6.0/scripts/AfterUpgrade.php
"UPDATE `inbound_email` SET inbound_email.security = '' WHERE inbound_email.ssl = 0"1
  • /upgrades/6.0/scripts/AfterUpgrade.php
" SELECT TABLE_NAME as tableName FROM information_schema.TABLES WHERE TABLE_SCHEMA = '" . $databaseInfo['dbname'] . "' AND ENGINE = 'MyISAM' "1
  • /upgrades/6.0/scripts/BeforeUpgrade.php
"SHOW TABLES LIKE '{$table}'"1
  • /application/Espo/Tools/EntityManager/Rename/Renamer.php
"SELECT indexdef FROM pg_indexes WHERE indexname = '{$key}'"1
  • /application/Espo/Core/Utils/Database/Dbal/Platforms/PostgreSQLSchemaManager.php
"SHOW {$name}"1
  • /application/Espo/Core/Utils/Database/DetailsProviders/PostgresqlDetailsProvider.php
"SHOW VARIABLES LIKE :param"1
  • /application/Espo/Core/Utils/Database/DetailsProviders/MysqlDetailsProvider.php
"SHOW TABLE STATUS WHERE Engine = 'MyISAM'"1
  • /application/Espo/Core/Utils/Database/Schema/ColumnPreparators/MysqlColumnPreparator.php
"SHOW FULL COLUMNS FROM `" . $tableName . "` WHERE Field = " . $pdo->quote($columnName)1
  • /application/Espo/Core/Utils/Database/Schema/RebuildActions/PrepareForFulltextIndex.php
'Delete package process [' . $processId . ']: start run.'1
  • /application/Espo/Core/Upgrades/Actions/Base/Delete.php
'Delete package package ID was not specified.'1
  • /application/Espo/Core/Upgrades/Actions/Base/Delete.php
'Delete package process [' . $processId . ']: end run.'1
  • /application/Espo/Core/Upgrades/Actions/Base/Delete.php
"select should be array."1
  • /application/Espo/Core/Select/SearchParams.php
"select has non-string item."1
  • /application/Espo/Core/Select/SearchParams.php
"Update params: Missing 'in'."1
  • /application/Espo/ORM/Query/Update.php
"Update params: Bad or missing 'set' parameter."1
  • /application/Espo/ORM/Query/Update.php
"INSERT INTO " . $this->quoteIdentifier($table) . " ($columnsPart) $valuesPart"1
  • /application/Espo/ORM/QueryComposer/PostgresqlQueryComposer.php
"DELETE "1
  • /application/Espo/ORM/QueryComposer/BaseQueryComposer.php
"UPDATE " . $this->quoteIdentifier($table)1
  • /application/Espo/ORM/QueryComposer/BaseQueryComposer.php
"INSERT INTO " . $this->quoteIdentifier($table) . " ($columns) $values"1
  • /application/Espo/ORM/QueryComposer/BaseQueryComposer.php
'Show Message'1
  • /application/Espo/Modules/Crm/Entities/CampaignTrackingUrl.php
'SELECT modified, source FROM templates WHERE name = :name'2
  • /install/vendor/smarty/demo/plugins/resource.mysqls.php
  • /install/vendor/smarty/demo/plugins/resource.mysql.php
" UPDATE email_account SET port = NULL WHERE port = '' "2
  • /upgrades/5.8/scripts/BeforeUpgrade.php
  • /upgrades/5.8.2-5.8.3/scripts/BeforeUpgrade.php
" UPDATE inbound_email SET port = NULL WHERE port = '' "2
  • /upgrades/5.8/scripts/BeforeUpgrade.php
  • /upgrades/5.8.2-5.8.3/scripts/BeforeUpgrade.php
"select version()"2
  • /application/Espo/Core/Utils/Database/DetailsProviders/PostgresqlDetailsProvider.php
  • /application/Espo/Core/Utils/Database/DetailsProviders/MysqlDetailsProvider.php
"Select params: Missing 'from'."2
  • /application/Espo/ORM/Query/Delete.php
  • /application/Espo/ORM/Query/Select.php