If date is ISO 8601 format it is string comparable.
select * from mu where type=‘test’ and dt > ‘2017-07-04’;
Your query returns 4 documents not 3 (If the date string does not explicitly declare the value of a component, then a value of 0 is assumed. For example 2016-02-07 is equivalent to 2016-02-07T00:00:00. This is with the exception of the time zone, which if unspecified in the date string will default to the local system time zone.). Couchbase SDKs