改进Model类和Query类 name方法纳入链式操作 查询完成后释放 原来Connection类的getTableInfo方法移入 Query类

This commit is contained in:
thinkphp
2016-04-25 13:35:46 +08:00
parent 964248a10e
commit a9577009f8
9 changed files with 123 additions and 128 deletions

View File

@@ -69,7 +69,7 @@ class Mysql extends Connection
];
}
}
return $info;
return $this->fieldCase($info);
}
/**

View File

@@ -118,7 +118,7 @@ class Oracle extends Connection
];
}
}
return $info;
return $this->fieldCase($info);
}
/**

View File

@@ -58,7 +58,7 @@ class Pgsql extends Connection
];
}
}
return $info;
return $this->fieldCase($info);
}
/**

View File

@@ -55,7 +55,7 @@ class Sqlite extends Connection
];
}
}
return $info;
return $this->fieldCase($info);
}
/**

View File

@@ -72,7 +72,7 @@ class Sqlsrv extends Connection
];
}
}
return $info;
return $this->fieldCase($info);
}
/**