Hi,
I have a file which has data on each each line like below.
file.txt
123
256
456
865
485
254
the query is
CREATE QUERY readInputFromFile(FILE f) for graph MyGraph {
SetAccum @@inputParams
I want to read each line from the file and accumulate it into the @@inputParams
Loop ?
@@inputParams += ?
}
I don’t know how to read from file so if anybody has any idea of relevant functions, please do share.
Appreciate your help.
Hanif