arangodb / go-driver

The official ArangoDB go driver.
Apache License 2.0
342 stars 80 forks source link

Need support to pass the value for "ForceOneShardAttribute" Attribute in v2 client so that the query can to specific shard . #626

Closed Khushwantsharma closed 2 weeks ago

Khushwantsharma commented 1 month ago

In v1 arangodb client we had this function "WithQueryForceOneShardAttributeValue" to set the value of ForceOneShardAttribute . In v2 version of the client we dont have this function . Need help to add some way to pass the value for the attribute . Here is the url i mentioned: https://pkg.go.dev/github.com/arangodb/go-driver#WithQueryForceOneShardAttributeValue

jwierzbo commented 2 weeks ago

Implemented.