...SDatabasePgSQL query() 执行 SQL 语句查询 XSDatabasePgSQL query1() 查询数据库首行 XSDatabase setUtf8() 将输出字符集设置为 UTF-8 XSDatabasePgSQL 方法明细 close() 方法 public void close() 源码: sdk/php/util/XSDataSource.class.php#...
...据库 XSDatabasePDO query() 执行 SQL 语句 XSDatabasePDO query1() 查询数据库首行 XSDatabase setUtf8() 设置数据库字符集为 UTF-8 XSDatabase Protected 方法 隐去继承来的方法 名称描述定义于 makeDsn() 提取参数内...
...atabaseMySQLI query() 执行 SQL 语句查询 XSDatabaseMySQLI query1() 查询数据库首行 XSDatabase setUtf8() 将输出字符集设置为 UTF-8 XSDatabaseMySQLI 方法明细 close() 方法 public void close() 源码: sdk/php/util/XSDataSource.class.php...
...SDatabaseMySQL query() 执行 SQL 语句查询 XSDatabaseMySQL query1() 查询数据库首行 XSDatabase setUtf8() 将输出字符集设置为 UTF-8 XSDatabaseMySQL 方法明细 close() 方法 public void close() 源码: sdk/php/util/XSDataSource.class.php#...
...'SELECT COUNT(*) AS count FROM ', $sql); 206 $res = $this->db->query1($sql); 207 $this->limit = $res['count'] - $this->offset; 208 }
...->query('SELECT COUNT(*)...') #1 XSDataSource.class.php(213): XSDatabase->query1('SELECT COUNT(*)...') #2 XSDataSource.class.php(33): XSDatabaseDataSource->init() #3 XSDataSource.class.php(48): XSDataSource->__construct('mysql://xxx', 'SELECT a.id,a.t...') #4 Indexer.php(206): XSDataSource::inst...
...OM\s/i', 'SELECT COUNT(*) AS count FROM ', $sql); $res = $this->db->query1($sql); $this->limit = $res['count'] - $this->offset; }}