All Products
Search
Document Center

PolarDB:ST_H3FromInt

Last Updated:Mar 28, 2026

Converts a bigint H3 index into an H3Grid value.

Syntax

h3grid ST_H3FromInt(bigint code)

Parameters

ParameterTypeDescription
codebigintThe H3-encoded grid index.

Example

SELECT ST_H3FromInt(613792635565375487);

Output:

      st_h3fromint
------------------------
 010100FFFF9F6826A18408