<?php
namespace SYSTEM\DBD;

class SYS_SAIMOD_PAGE_SINGLE_SELECT extends \SYSTEM\DB\QP {
    protected static function query(){
        return new \SYSTEM\DB\QQuery(get_class(),
//pg            
'SELECT * FROM '.\SYSTEM\DBD\system_page::NAME_PG.'  WHERE ID = $1 AND group = $2;',
//mys
'SELECT * FROM '.\SYSTEM\DBD\system_page::NAME_MYS.' WHERE ID = ? AND `group` = ?;'
);}}
