1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-03 23:37:39 +02:00

[ticket/10942] Add sql_concatenate to dbal

PHPBB3-10942
This commit is contained in:
Joas Schilling
2012-06-20 02:10:04 +02:00
parent dd0da6fffb
commit 1e3272bfce
7 changed files with 60 additions and 0 deletions

View File

@@ -154,6 +154,14 @@ class dbal_postgres extends dbal
return ($raw) ? $this->sql_server_version : 'PostgreSQL ' . $this->sql_server_version;
}
/**
* {@inheritDoc}
*/
function sql_concatenate($string1, $string2)
{
return $string1 . ' || ' . $string2;
}
/**
* SQL Transaction
* @access private