增加docke部署

This commit is contained in:
2026-04-10 16:44:13 +08:00
parent e2f8054794
commit cd4ddb606d
5076 changed files with 701092 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
<?php
/**
* $Id: SqlConetxt.php 131 2015-10-10 02:25:57Z yangmin.cao $
* @author caoym(caoyangmin@gmail.com)
*/
namespace phprs\ezsql;
/**
* @author caoym
*/
class SqlConetxt{
/**
* 拼接sql语句并自动插入空格
* @param string $sql 表达式
*/
public function appendSql($sql, $addSpace=true){
if($this->sql == ''){
$this->sql = $sql;
}else{
if($addSpace){
$this->sql = $this->sql.' '.$sql;
}else{
$this->sql = $this->sql.$sql;
}
}
}
/**
* 增加绑定变量值
* @param array $params 变量
*/
public function appendParams($params){
$this->params = array_merge($this->params, $params);
}
public $sql='';
public $params=[];
}