Back to Yugabyte Db

Built-in functions and operators [YSQL]

docs/content/v2024.2/api/ysql/exprs/_index.md

2026.1.0.0-b251.7 KB
Original Source

YSQL supports all PostgreSQL-compatible built-in functions and operators. The following are the currently documented ones.

StatementDescription
{{<tags/feature/ea idea="2160">}}yb_index_check()Checks if the given index is consistent with its base relation
yb_hash_code()Returns the partition hash code for a given set of expressions
yb_servers()Returns a list of all the nodes in your cluster and their location
yb_cancel_transaction()Cancels a specific transaction
Sequence functionsFunctions operating on sequences
Geo-partitioning helper functionsDetailed list of geo-partitioning helper functions
JSON functions and operatorsDetailed list of JSON-specific functions and operators
Array functions and operatorsDetailed list of array-specific functions and operators
Aggregate functionsDetailed list of YSQL aggregate functions
Window functionsDetailed list of YSQL window functions
Date-time operatorsList of operators for the date and time data types
General-purpose date-functionsList of general purpose functions for the date and time data types
Date-time formatting functionsList of formatting functions for the date and time data types