{
var(func: eq(account, "100")){
client{
cid as uid
}
msg as message_limit
}
messageCount(func: uid(cid)){
count(messages)
messages(orderdesc: timestamp, offset: val(msg)){
uid
payload
timestamp
}
}
}
message_limit
here is message_limit:int .
.
The essential point is that I want to be able to set values in the database to use as limits application side. The above results in : strconv.ParseInt: parsing "msg": invalid syntax
which seems inconsistent considering that variables can be used for ordering as suggested by the documentation.