---
title: "Functions (HubSpot)"
description: "Domain Functions"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/hubspot/HubSpot.CodeValues.Functions
original: https://documentation.invantive.eu/en/datamodels/hubspot/HubSpot.CodeValues.Functions
updated: 2026-05-19T15:51:43Z
license: https://documentation.invantive.eu/en/
---

# Functions: HubSpot Domain Functions

`read only`

- Catalog: `HubSpot`
- Schema: `CodeValues`
- Label: Domain Functions

Lookup-table that translates code values of the domain 'Functions' into descriptions.

Can only retrieve data.

## Example

The code value 'max' means 'Will have between 2 and 100 input numbers, and will return the maximum number out of all the inputs'.

## Table Columns

The columns of the table `Functions` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `code` | `varchar2(240)` | Code | [x] |  | Unique code within the domain. |
| `description` | `varchar2(4000)` | Description | [ ] |  | Meaning of the unique code within the domain. |
| `domain` | `varchar2(240)` | Domain | [x] |  | Each domain defines a map of codes to values. |
| `resource_code` | `varchar2(240)` | Resource Code | [ ] |  | Resource code for internationalization. |

## Code Values

| Code | Description |
|---|---|
| `concatenate` | Joins a list of strings; the list of inputs can go from 2 up to 100 |
| `contains` | Has two strings as inputs and will return true if the first input contains the second |
| `is_present` | Evaluates whether an expression can be evaluated |
| `max` | Will have between 2 and 100 input numbers, and will return the maximum number out of all the inputs |
| `min` | Will have between 2 and 100 input numbers, and will return the minimum number of out all the inputs |
| `number_to_string` | Tries to convert the input number expression to a string |
| `string_to_number` | Tries to convert the input string expression to a number |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [HubSpot](/en/release-notes/drivers/hubspot)

