mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-02 00:32:15 +09:00
Convert all SQL keywords to upper case
대소문자를 섞어서 쓰고 있던 SQL 키워드들을 모두 대문자로 통일 as, and, or, like, desc 등이 소문자였음
This commit is contained in:
parent
6070707941
commit
83362034cd
6 changed files with 15 additions and 20 deletions
|
|
@ -41,9 +41,9 @@ class JoinTable extends Table
|
|||
|
||||
function toString($with_value = true)
|
||||
{
|
||||
$part = $this->join_type . ' ' . $this->name;
|
||||
$part .= $this->alias ? ' as ' . $this->alias : '';
|
||||
$part .= ' on ';
|
||||
$part = strtoupper($this->join_type) . ' ' . $this->name;
|
||||
$part .= $this->alias ? (' AS ' . $this->alias) : '';
|
||||
$part .= ' ON ';
|
||||
foreach($this->conditions as $conditionGroup)
|
||||
{
|
||||
$part .= $conditionGroup->toString($with_value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue