DDC-3159: CONCAT expression for PostGreSql #3938

Open
doctrinebot opened this Issue Jun 10, 2014 · 0 comments

2 participants

@doctrinebot

Jira issue originally created by user maximecolin:

For PostGreSQL, the CONCAT DQL function is translated in concatenation with || operator (which is the default behavior in AbstractPlatform class).

Is there a particular reason to not use the CONCAT PostGreSQL function instead like in MySqlPlatform ?

I ask this cause the concatenation with || operator return null if one of the part is null, whereas CONCAT function will simply ignore null values.

@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment