搜索

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

71.XSDatabasePgSQL::connect

... public void connect($param) $param 源码: sdk/php/util/XSDataSource.class.php#L554 (显示) public function connect($param){ $dsn = "host={$param['host']} "; $dsn .= isset($param['port']) ? "port={$param['port']} " : ''; $dsn .= "dbname={$param['dbname']} user={$param['...

72.XSDatabasePDO_MySQL::makeDsn

...含 host, port, dbname {return} string 源码: sdk/php/util/XSDataSource.class.php#L877 (显示) protected function makeDsn($param){ $dsn = 'mysql:host=' . (isset($param['host']) ? $param['host'] : 'localhost'); if (isset($param['port']) && $param['port'] !== 3306) { $dsn ...

73.XSDatabaseSQLite::query

... 要执行的 SQL 语句 {return} mixed 源码: sdk/php/util/XSDataSource.class.php#L722 (显示) public function query($sql){ //echo "[DEBUG] SQL: $sql\n"; $res = sqlite_query($this->link, $sql); if ($res === false) { throw new XSException('SQLITE ERROR: ' . sqlite_er...

74.XSDatabase::query1

...结果首行, 失败或无数据则返回 false 源码: sdk/php/util/XSDataSource.class.php#L455 (显示) public function query1($sql){ $sql = preg_replace('/ limit\s+(\d+)(?:\s*,\s*(\d+)|\s+offset\s+(\d+))?\s*$/i', '', $sql); $sql .= ' LIMIT 1'; $res = $this->query($sql); return ...

75.XSDatabaseMySQL::query

... 要执行的 SQL 语句 {return} mixed 源码: sdk/php/util/XSDataSource.class.php#L511 (显示) public function query($sql){ //echo "[DEBUG] SQL: $sql\n"; $res = mysql_query($sql, $this->link); if ($res === false) { throw new XSException('MySQL ERROR(#' . mysql_errno...

76.RE: 导入索引,使用mysql数据源,但是端口号需要指定如果填写

发布时间:2014-09-29 10:09 t By longhtml

直接修改代码 sdk\php\util\XSDataSource.class.php 482行 $host .= (isset($param['port']) && $param['port'] != 3306) ? ':' . $param['port'] : '[b]:3399[/b]';

77.XSDatabaseSQLite3::query

... 要执行的 SQL 语句 {return} mixed 源码: sdk/php/util/XSDataSource.class.php#L781 (显示) public function query($sql){ //echo "[DEBUG] SQL: $sql\n"; $res = $this->obj->query($sql); if ($res === false) { throw new XSException('SQLITE3 ERROR(#' . $this->obj->last...

78.兩個詞經常查不到

发布时间:2013-01-06 14:01 t By chrislu0044

...果[b]首行, 失败或无数据[/b]则返回 false 源码: sdk/php/util/XSDataSource.class.php#L450 (显示) public function query1($sql){ $sql = preg_replace('/ limit\s+(\d+)(?:\s*...

79.报错json_last_error() debug不可用

发布时间:2013-07-19 16:07 t By tboy

... undefined function json_last_error() in /usr/local/xunsearch/sdk/php/util/XSDataSource.class.php on line 332 过滤器 debug 不显示 json导入出错

80.RE: 用骨架自动生成的search.php访问没有数据是怎么回事,管理员大哥帮帮忙

发布时间:2012-12-13 11:12 t By chinapubmed

你可以用debug那个调试一下,看看怎么回事!/usr/local/xunsearch/sdk/php/util/XSDataSource.class.php

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