Constructing A Range Of Dates
PostgreSQL offers a number of range types including the daterange
type. This can be constructed using the daterange()
function with two strings representing the lower and upper bounds of the date range respectively.
The lower bound is inclusive -- indicated by the [
character -- and the upper bound is exclusive -- indicated by the )
character.
Last updated