[enhancement]User Defined Function feature

For example, deal with some properties with String function/number function etc, If I can define function to make more clear logic will be good.

1 Like

Yes, this is on our roadmap for the future. For now, please make sure you are familiar with all the N1QL functions in the documentation.

1 Like

ok,Thank you. I will.

Good morning, I know it’s been a while here but I wanted to follow-up and let you know that we’ve released our first support for User Defined Functions as a part of N1QL in Couchbase Server 6.5: https://docs.couchbase.com/server/6.5/n1ql/n1ql-language-reference/userfun.html and https://docs.couchbase.com/tutorials/session-storage/udf.html#creating-a-user-defined-function

At the moment it’s still in Developer Preview mode, but will soon be fully production ready in a subsequent release.