Skip to content

Commit

Permalink
refactor: update concat to be variadic
Browse files Browse the repository at this point in the history
  • Loading branch information
richtia committed Aug 24, 2022
1 parent 6327ca5 commit 7b95418
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions extensions/functions_string.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@
scalar_functions:
-
name: concat
description: Concatenate two strings
description: Concatenate two or more strings.
impls:
- args:
- value: "varchar<L1>"
- value: "varchar<L2>"
return: "varchar<L1 + L2>"
variadic:
min: 2
return: "varchar<L1>"
- args:
- value: "string"
- value: "string"
variadic:
min: 2
return: "string"
-
name: like
Expand Down

0 comments on commit 7b95418

Please sign in to comment.