FILENAME - Metadata
Returns the filename (with full path), or “[PROJECTION]” if the document was projected
Output
String: The name of the file
Usage
FILENAME()
Examples
Example 1
Query
LOAD tmp
AS ('': FILENAME())
Result
"tmp.json"
Returns the filename (with full path), or “[PROJECTION]” if the document was projected
String: The name of the file
FILENAME()
LOAD tmp
AS ('': FILENAME())
"tmp.json"