Open thinkofher opened 3 years ago
Hello,
When using redisgraph-go you cannot simply pass time.Now().Unix() as ParameterizedQuery parameter, which I though is common behavior. Example code below.
redisgraph-go
time.Now().Unix()
if _, err := graph.ParameterizedQuery(query, map[string]interface{}{ "task_id": id, "now": time.Now().Unix(), }); err != nil { return fmt.Errorf("graph.ParameterizedQuery: %w", err) }
Probably I can use toInteger RedisGraphs function in query, but I still won't be able to pass int64 as property in Properties field of Nodes.
toInteger
int64
Properties
What do you think about that?
Hello,
When using
redisgraph-go
you cannot simply passtime.Now().Unix()
as ParameterizedQuery parameter, which I though is common behavior. Example code below.Probably I can use
toInteger
RedisGraphs function in query, but I still won't be able to passint64
as property inProperties
field of Nodes.What do you think about that?