Defining Couchbase Functions

The following properties are applicable to a Couchbase Function object. The Couchbase Function object is available for Couchbase 7.0 and above.

Tab

Property

Description

Additional Information

General Function Type Specifies the function type

Inline: Indicates that the function is defined using N1QL expressions including subqueries

External: Indicates that the function is defined using an external language

JavaScript is the only supported external language

Function Body Specifies the function body  
Parameters   Specifies the function parameters