You've already forked qlg.tsgz.moe
Init Repo
This commit is contained in:
31
extend/app_alipay/lotusphp_runtime/DB/Adapter/SqlAdapter/DbSqlAdapter.php
Executable file
31
extend/app_alipay/lotusphp_runtime/DB/Adapter/SqlAdapter/DbSqlAdapter.php
Executable file
@ -0,0 +1,31 @@
|
||||
<?php
|
||||
interface LtDbSqlAdapter
|
||||
{
|
||||
/**
|
||||
* Return SQL statements
|
||||
*/
|
||||
public function setCharset($charset);
|
||||
public function setSchema($schema);
|
||||
|
||||
public function showSchemas($database);
|
||||
public function showTables($schema);
|
||||
public function showFields($table);
|
||||
|
||||
public function beginTransaction();
|
||||
public function commit();
|
||||
public function rollBack();
|
||||
|
||||
public function limit($limit, $offset);
|
||||
|
||||
/**
|
||||
* Retrive recordset
|
||||
*/
|
||||
public function getSchemas($queryResult);
|
||||
public function getTables($queryResult);
|
||||
public function getFields($queryResult);
|
||||
|
||||
/**
|
||||
* Parse SQL
|
||||
*/
|
||||
public function detectQueryType($sql);
|
||||
}
|
Reference in New Issue
Block a user