Driver_Database_Driver_Postgre::_compile_join
Compiles an array of JOIN statements into an SQL partial.
string Driver_Database_Driver_Postgre::_compile_join( object $joins )
参数列表
参数 |
类型 |
描述 |
默认值 |
$joins |
object |
Database instance |
|
返回值
File: ./drivers/database/postgre/postgre.class.php
1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 | protected function _compile_join( array $joins )
{
$statements = array ();
foreach ( $joins as $join )
{
$statements [] = $this ->_compile_join_on( $join );
}
return implode( ' ' , $statements );
}
|