\CouchbaseDateRangeSearchQuery

A FTS query that matches documents on a range of values. At least one bound is required, and the inclusiveness of each bound can be configured.

Summary

Methods
Properties
Constants
boost()
field()
start()
end()
dateTimeParser()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

start()

start(integer|string  $start, boolean  $inclusive = true) : \Couchbase\DateRangeSearchQuery

Parameters

integer|string $start

The strings will be taken verbatim and supposed to be formatted with custom date time formatter (see dateTimeParser). Integers interpreted as unix timestamps and represented as RFC3339 strings.

boolean $inclusive

Returns

\Couchbase\DateRangeSearchQuery

end()

end(integer|string  $end, boolean  $inclusive = false) : \Couchbase\DateRangeSearchQuery

Parameters

integer|string $end

The strings will be taken verbatim and supposed to be formatted with custom date time formatter (see dateTimeParser). Integers interpreted as unix timestamps and represented as RFC3339 strings.

boolean $inclusive

Returns

\Couchbase\DateRangeSearchQuery

dateTimeParser()

dateTimeParser(string  $dateTimeParser) : \Couchbase\DateRangeSearchQuery

Parameters

string $dateTimeParser

Returns

\Couchbase\DateRangeSearchQuery