Skip to content

Commit

Permalink
Escape pipes in string translations doc (#326)
Browse files Browse the repository at this point in the history
This commit fixes text appearing in wrong columns caused by not escaped pipe characters.
  • Loading branch information
haas-daniel committed Dec 8, 2023
1 parent 0ad9260 commit ebdda72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conceptual/EFCore.PG/mapping/translations.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ Regex.IsMatch(stringValue, "^A+", regexOptions) | [stringValue ~ '
string.Join(", ", a, b) | [concat_ws(', ', a, b)](https://www.postgresql.org/docs/current/functions-string.html#FUNCTIONS-STRING-OTHER) | Added in 7.0 (previously array_to_string)
string.Join(", ", array) | [array_to_string(array, ', ', '')](https://www.postgresql.org/docs/current/functions-array.html#ARRAY-FUNCTIONS-TABLE)
string.Join(", ", agg_strings) | [string_agg(agg_strings, ', ')](https://www.postgresql.org/docs/current/functions-aggregate.html#FUNCTIONS-AGGREGATE-TABLE) | Added in 7.0, see [Aggregate functions](#aggregate-functions).
EF.Functions.StringToArray(s, "|") | [string_agg(s, '\|')](https://www.postgresql.org/docs/current/functions-string.html#FUNCTION-STRING-TO-ARRAY) | Added in 8.0
EF.Functions.StringToArray(s, "|", "FOO") | [string_agg(s, '\|', 'FOO')](https://www.postgresql.org/docs/current/functions-string.html#FUNCTION-STRING-TO-ARRAY) | Added in 8.0
EF.Functions.StringToArray(s, "\|") | [string_agg(s, '\|')](https://www.postgresql.org/docs/current/functions-string.html#FUNCTION-STRING-TO-ARRAY) | Added in 8.0
EF.Functions.StringToArray(s, "\|", "FOO") | [string_agg(s, '\|', 'FOO')](https://www.postgresql.org/docs/current/functions-string.html#FUNCTION-STRING-TO-ARRAY) | Added in 8.0

## Date and time functions

Expand Down

0 comments on commit ebdda72

Please sign in to comment.