Couchbase.N1QL.QueryRequest.AdHoc C# (CSharp) Method

AdHoc() public method

If set to false, the client will try to perform optimizations transparently based on the server capabilities, like preparing the statement and then executing a query plan instead of the raw query.
The default is true; the query will executed in an ad-hoc manner, without special optomizations.
public AdHoc ( bool adHoc ) : IQueryRequest
adHoc bool if set to false the query will be optimized if possible.
return IQueryRequest
        public IQueryRequest AdHoc(bool adHoc)
        {
            _adHoc = adHoc;
            return this;
        }