system/cache/qq/SYS_CACHE_DELETE.php
2024-11-01 03:59:34 +01:00

35 lines
808 B
PHP

<?php
/**
* System - PHP Framework
*
* PHP Version 5.6
*
* @copyright 2016 Ulf Gebhardt (http://www.webcraft-media.de)
* @license http://www.opensource.org/licenses/mit-license.php MIT
* @link https://github.com/webcraftmedia/system
* @package SYSTEM\SQL
*/
namespace SYSTEM\SQL;
/**
* QQ to delete cache entry
*/
class SYS_CACHE_DELETE extends \SYSTEM\DB\QP {
/**
* Get Classname of the QQ
*
* @return string Returns classname
*/
public static function get_class(){return \get_class($this);}
/**
* Get QQs PostgreSQL Query String
*
* @return string Returns PostgreSQL Query String
*/
public static function pgsql(){return
'DELETE FROM system.cache'.
' WHERE "CacheID" = $1 AND'.
' "Ident" = $2;';
}
}