We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 514115e + d0f7259 commit 9b53794Copy full SHA for 9b53794
1 file changed
docs/using-gitbase/functions.md
@@ -17,6 +17,7 @@ To make some common tasks easier for the user, there are some functions to inter
17
|`uast(blob, [lang, [xpath]]) blob`| returns a node array of UAST nodes in semantic mode. |
18
|`uast_children(blob) blob`| returns a flattened array of the children UAST nodes from each one of the UAST nodes in the given array. |
19
|`uast_extract(blob, key) text array`| extracts information identified by the given key from the uast nodes. |
20
+|`uast_imports(blob) text array`| returns all imports given the specified UAST blob. |
21
|`uast_mode(mode, blob, lang) blob`| returns a node array of UAST nodes specifying its language and mode (semantic, annotated or native). |
22
|`uast_xpath(blob, xpath) blob`| performs an XPath query over the given UAST nodes. |
23
|`version() text`| returns the gitbase version in the following format `8.0.11-{GITBASE_VERSION}` for compatibility with MySQL versioning. |
0 commit comments