搜索

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

1.XSDatabaseSQLite::connect

...blic void connect(array $param) $param array 连接参数, 包含: path 源码: sdk/php/util/XSDataSource.class.php#L699 (显示) public function connect($param){ if (($this->link = sqlite_open($param['path'])) === false) { throw new XSException("Can not open sqlite file: '{$p...

2.XSDatabaseDataSource

... $param = array('scheme' => substr($this->type, 0, $pos)); $param['path'] = substr($this->type, $pos + (substr($this->type, $pos + 1, 2) === '//' ? 3 : 1)); } elseif (!($param = parse_url($this->type))) { throw new XSException('Wrong format of DB connection parameter'); } else {...

3.XSDatabaseSQLite3::connect

...blic void connect(array $param) $param array 连接参数, 包含: path 源码: sdk/php/util/XSDataSource.class.php#L756 (显示) public function connect($param){ try { $this->obj = new SQLite3($param['path'], SQLITE3_OPEN_READONLY); } catch (Exception $e) { throw ne...

4.XSDatabasePDO_SQLite::makeDsn

... protected string makeDsn(array $param) $param array 包含 path 为数据库路径 {return} string 源码: sdk/php/util/XSDataSource.class.php#L945 (显示) protected function makeDsn($param){ $dsn = 'sqlite:' . $param['path']; return $dsn;} 生成 SQLite DSN

5.XSDatabaseSQLite

...blic void connect(array $param) $param array 连接参数, 包含: path 源码: sdk/php/util/XSDataSource.class.php#L699 (显示) public function connect($param){ if (($this->link = sqlite_open($param['path'])) === false) { throw new XSException("Can not open sqlite file: '{$p...

6.XSDatabasePDO_SQLite

... protected string makeDsn(array $param) $param array 包含 path 为数据库路径 {return} string 源码: sdk/php/util/XSDataSource.class.php#L945 (显示) protected function makeDsn($param){ $dsn = 'sqlite:' . $param['path']; return $dsn;} 生成 SQLite DSN ...

7.XSDatabaseSQLite3

...blic void connect(array $param) $param array 连接参数, 包含: path 源码: sdk/php/util/XSDataSource.class.php#L756 (显示) public function connect($param){ try { $this->obj = new SQLite3($param['path'], SQLITE3_OPEN_READONLY); } catch (Exception $e) { throw ne...

8.XSDatabase::connect

...连接参数, 采用 parse_url 解析, 可能包含: scheme,user,pass,host,path,table,dbname ... 源码: sdk/php/util/XSDataSource.class.php#L428 (显示) abstract public function connect($param); 连接数据库

9.XSDatabasePDO_PgSQL::makeDsn

... protected string makeDsn(array $param) $param array 包含 path 为数据库路径 {return} string 源码: sdk/php/util/XSDataSource.class.php#L913 (显示) protected function makeDsn($param){ $dsn = "pgsql:host={$param['host']};"; $dsn .= isset($param['port']) ? "...

10.XSDatabasePDO_PgSQL

... protected string makeDsn(array $param) $param array 包含 path 为数据库路径 {return} string 源码: sdk/php/util/XSDataSource.class.php#L913 (显示) protected function makeDsn($param){ $dsn = "pgsql:host={$param['host']};"; $dsn .= isset($param['port']) ? "...

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