I am looking to specify a max timeout for a simple query using an index and using the node-sdk.
I saw in the go-sdk docs (Client Settings | Couchbase Docs)
The Query timeout is used on all N1QL query operations if not overridden by a custom timeout. Note that it is set to such a high timeout compared to key/value since it can affect hundreds or thousands of rows.
Does anyone know how to set a custom timeout within a query in node?