EctoLtree.Functions (EctoLtree v0.4.0) View Source
This module exposes the ltree
functions.
For more information see the PostgreSQL documentation.
Link to this section Summary
Functions
position of first occurrence of b in a; -1 if not found.
position of first occurrence of b in a, searching starting at offset; negative offset means start -offset labels from the end of the path.
lowest common ancestor.
cast ltree
to text
.
number of labels in path.
subpath of ltree
from position start to position end-1 (counting from 0).
subpath of ltree
starting at position offset, extending to end of path.
If offset is negative, subpath starts that far from the end of the path.
subpath of ltree
starting at position offset, length len.
If offset is negative, subpath starts that far from the end of the path.
If len is negative, leaves that many labels off the end of the path.
cast text
to ltree
.
Link to this section Functions
position of first occurrence of b in a; -1 if not found.
position of first occurrence of b in a, searching starting at offset; negative offset means start -offset labels from the end of the path.
lowest common ancestor.
cast ltree
to text
.
number of labels in path.
subpath of ltree
from position start to position end-1 (counting from 0).
subpath of ltree
starting at position offset, extending to end of path.
If offset is negative, subpath starts that far from the end of the path.
subpath of ltree
starting at position offset, length len.
If offset is negative, subpath starts that far from the end of the path.
If len is negative, leaves that many labels off the end of the path.
cast text
to ltree
.