N1QL: Couchbase: How to use concat function with mixed typed

Viewed 23

I am using couchbase and trying to concat mixed types

Example

SELECT CONCAT("abc",1, "ghi") AS concat;

RETURNS

[
  {
    "concat": null
  }
]

I am expecting

[
  {
    "concat": abc1ghi
  }
]

How do I achieve this?

1 Answers
Related