PHP Class DbSQLite3

Inheritance: implements iDataBase
ファイルを表示 Open project: zblogcn/zblogphp

Public Properties

Property Type Description
$dbname 数据库名
$dbpre 数据库名前缀
$sql DbSql | null
$type
$version

Public Methods

Method Description
Close ( ) 关闭数据库连接
CreateTable ( $table, $datainfo )
DelTable ( $table )
Delete ( $query ) : mixed
EscapeString ( $s ) : string
ExistTable ( $table )
Insert ( $query ) : mixed
Open ( $array ) : boolean
Query ( $query ) : array
QueryMulit ( $s )
QueryMulti ( $s ) 错别字函数,历史原因保留下来
Update ( $query ) : mixed
__construct ( ) 构造函数,实例化$sql参数

Method Details

Close() public method

关闭数据库连接
public Close ( )

CreateTable() public method

public CreateTable ( $table, $datainfo )
$table
$datainfo

DelTable() public method

public DelTable ( $table )
$table

Delete() public method

public Delete ( $query ) : mixed
$query
return mixed

EscapeString() public method

public EscapeString ( $s ) : string
$s
return string

ExistTable() public method

public ExistTable ( $table )
$table

Insert() public method

public Insert ( $query ) : mixed
$query
return mixed

Open() public method

public Open ( $array ) : boolean
$array
return boolean

Query() public method

public Query ( $query ) : array
$query
return array

QueryMulit() public method

public QueryMulit ( $s )
$s

QueryMulti() public method

错别字函数,历史原因保留下来
public QueryMulti ( $s )

Update() public method

public Update ( $query ) : mixed
$query
return mixed

__construct() public method

构造函数,实例化$sql参数
public __construct ( )

Property Details

$dbname public_oe property

数据库名
public $dbname

$dbpre public_oe property

数据库名前缀
public $dbpre

$sql public_oe property

public DbSql|null $sql
return DbSql | null

$type public_oe property

public $type

$version public_oe property

public $version