Request has no field or method Exec
Opened this issue · 5 comments
diegotole commented
gremlin.Query("g.V()").Exec undefined (type *gremlin.Request has no field or method Exec)
here is my code:
import "github.com/go-gremlin/gremlin"
func main() {
if err := gremlin.NewCluster(MY_URL_HERE); err != nil {
fmt.Printf("error happened\n")
}
data, err := gremlin.Query(g.V().toList()
).Exec()
if err != nil {
// handle error
}
}
diegotole commented
installed using:
go get github.com/go-gremlin/gremlin
shan98 commented
Also having an issue with this, any updates?
diegotole commented
Also having an issue with this, any updates?
my issue was that I was trying to connect to AWS's Neptune. somehow this was not compatible. after changing libs it worked
softngineer commented
@diegotole what did you change to for Neptune?
diegotole commented
In the end i got it working using boto3
Em sex., 29 de mai. de 2020 às 22:55, softngineer <notifications@github.com>
escreveu:
… @diegotole <https://github.com/diegotole> what did you change to for
Neptune?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQFSFO4M2XOSSDZEIBLUQDRUCNVBANCNFSM4HJFRHMA>
.