Skip to content

Commit 9b53794

Browse files
authored
Add uast_imports function to documentation. (#975)
Add uast_imports function to documentation.
2 parents 514115e + d0f7259 commit 9b53794

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/using-gitbase/functions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ To make some common tasks easier for the user, there are some functions to inter
1717
|`uast(blob, [lang, [xpath]]) blob`| returns a node array of UAST nodes in semantic mode. |
1818
|`uast_children(blob) blob`| returns a flattened array of the children UAST nodes from each one of the UAST nodes in the given array. |
1919
|`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. |
2021
|`uast_mode(mode, blob, lang) blob`| returns a node array of UAST nodes specifying its language and mode (semantic, annotated or native). |
2122
|`uast_xpath(blob, xpath) blob`| performs an XPath query over the given UAST nodes. |
2223
|`version() text`| returns the gitbase version in the following format `8.0.11-{GITBASE_VERSION}` for compatibility with MySQL versioning. |

0 commit comments

Comments
 (0)