Example of constructing a DateRangeQuery in Nodejs SDK

seeking how to code the DateRangeQuery below in nodejs:

{
“start”: “2019-12-18T00:00:00Z”,
“end”: “2019-12-19T00:00:00Z”,
“inclusive_start”: true,
“inclusive_end”: true,
“field”: “completed”
},

https://docs.couchbase.com/nodejs-sdk/3.0/howtos/full-text-searching-with-sdk.html#examples

Thanks!
Aside from the await, I assume that example works using sdk 2.6.9 as well?

JG

Yes it should, although date ranges haven’t been mentioned here: https://docs.couchbase.com/nodejs-sdk/2.6/full-text-searching-with-sdk.html#examples

Right. Is why I am here. :slight_smile:

Confirmed that it’s with sdk 2.6.9 as well …

Hi @jgcoding,

It is highly recommended to post the SDK queries in the corresponding SDK forums to fetch quicker/latest updates from respective teams.
https://forums.couchbase.com/c/node-js-sdk

Cheers!

Thanks. I appreciate your advice. However, I had tagged both “Nodejs SDK” and “FTS” because those are the most appropriate tags to choose. I was unaware the first choice you mentioned had merely been replaced by the second “FTS”. I just verified by attempting to re-tag those items. the site replaces the first selection with the second.

A bug perhaps?

JG