搜索

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

21.XSDatabaseSQLite3::connect

...) $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 new XSException($e->getMessage()...

22.XSDatabasePDO::query

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

23.XSDatabasePDO::connect

...am array 连接参数, 包含: user, pass ... 源码: sdk/php/util/XSDataSource.class.php#L818 (显示) public function connect($param){ $dsn = $this->makeDsn($param); $user = isset($param['user']) ? $param['user'] : 'root'; $pass = isset($param['pass']) ? $param['pass'] : ''; t...

24.XSDatabaseMySQL::connect

...参数, 包含: user,pass,host,table,dbname ... 源码: sdk/php/util/XSDataSource.class.php#L479 (显示) public function connect($param){ $host = isset($param['host']) ? $param['host'] : ini_get('mysql.default_host'); $host .= (isset($param['port']) && $param['port'] != 3306) ? ':' . $pa...

25.XSDatabasePgSQL::query

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

26.XSDatabaseMySQLI::query

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

27.XSDatabaseMySQLI::connect

...参数, 包含: user,pass,host,table,dbname ... 源码: sdk/php/util/XSDataSource.class.php#L621 (显示) public function connect($param){ $host = isset($param['host']) ? $param['host'] : ini_get('mysqli.default_host'); $user = isset($param['user']) ? $param['user'] : ini_get('mysqli.defa...

28.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['...

29.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...

30.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...

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