搜索

大约有 10 项符合查询结果, 库内数据总量为 3,513 项。 (搜索耗时:0.1022秒)

1.XSDatabaseMySQL::connect

...l_connect($host, $user, $pass)) === false) { throw new XSException("Can not connect to mysql server: '$user@$host'"); } if (!mysql_select_db($param['dbname'], $this->link)) { $this->close(); throw new XSException("Can not switch to database name: '{$param['dbname']}'"); ...

2.XSDatabaseMySQLI::connect

... $port); if ($this->obj->connect_error) { throw new XSException("Can not connect to mysql server: '$user@$host'"); } if (!$this->obj->select_db($param['dbname'])) { $this->close(); throw new XSException("Can not switch to database name: '{$param['dbname']}'"); } $...

3.XSDatabaseSQLite::connect

... = sqlite_open($param['path'])) === false) { throw new XSException("Can not open sqlite file: '{$param['path']}'"); }} 打开数据库

4.XSDatabaseMySQLI

... $port); if ($this->obj->connect_error) { throw new XSException("Can not connect to mysql server: '$user@$host'"); } if (!$this->obj->select_db($param['dbname'])) { $this->close(); throw new XSException("Can not switch to database name: '{$param['dbname']}'"); } $...

5.XSDatabaseMySQL

...l_connect($host, $user, $pass)) === false) { throw new XSException("Can not connect to mysql server: '$user@$host'"); } if (!mysql_select_db($param['dbname'], $this->link)) { $this->close(); throw new XSException("Can not switch to database name: '{$param['dbname']}'"); ...

6.XSSearch::setFacets

...SFieldMeta::TYPE_STRING) { throw new XSException("Field `$name' cann't be used for facets search, can only be string type"); } $buf .= chr($ff->vno); } $cmd = array('cmd' => XS_CMD_SEARCH_SET_FACETS, 'buf' => $buf); $cmd['arg1'] = $exact === true ? 1 : 0; $this->...

7.XSDatabaseSQLite

... = sqlite_open($param['path'])) === false) { throw new XSException("Can not open sqlite file: '{$param['path']}'"); }} 打开数据库 query() 方法 public mixed query(string $sql) $sql string 要执行的 SQL 语句 {return} mixed 源码: sdk/php/util/X...

8.XSCsvDataSource

...} if (!($this->fd = fopen($file, 'r'))) { throw new XSException("Can not open input file: '$file'"); } $this->line = 0; if (isset($_SERVER['XS_CSV_DELIMITER'])) { $this->delim = $_SERVER['XS_CSV_DELIMITER']; }}

9.XSJsonDataSource

...} if (!($this->fd = fopen($file, 'r'))) { throw new XSException("Can not open input file: '$file'"); } $this->line = 0;}

10.XSSearch

...SFieldMeta::TYPE_STRING) { throw new XSException("Field `$name' cann't be used for facets search, can only be string type"); } $buf .= chr($ff->vno); } $cmd = array('cmd' => XS_CMD_SEARCH_SET_FACETS, 'buf' => $buf); $cmd['arg1'] = $exact === true ? 1 : 0; $this->...

  • 时间不限
  • 按相关性排序