Skip to main content

Functions

Mathematical

A mathematical function operates on input values provided as arguments and returns a numeric value as the operation’s output.

Trigonometric

Operators

Mathematical Operators

Below is a list of mathematical operators available in PostgreSQL:

JSON Operators

Oxla supports operators for handling JSON data. One such operator is:

Equal Operator (=)

This operator checks if two JSON values are identical. In Oxla, this operator is order-sensitive which means that for two JSON objects to be considered equal, their key-value pairs must appear in the exact same order.
Result
In PostgreSQL, this operator is not order-sensitive, so the order of key-value pairs does not affect the comparison result.

Behaviors Difference

Output Header

Missing function name in output header, PostgreSQL shows the function name, like in this example:
Oxla does not show the function name, like in this example:

ABS Output

Differences are also found in the ABS function, where there are differences in decimal results. The example below will return the absolute value of -1.0
It returns 1 in Oxla, while in PostgreSQL, it produces 1.0

Errors Difference