From 0e6685ee2854caad5d401a758cd7f440a3549a25 Mon Sep 17 00:00:00 2001 From: Michael Klishin Date: Wed, 25 Sep 2013 01:28:00 +0400 Subject: [PATCH] Change log update --- ChangeLog.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/ChangeLog.md b/ChangeLog.md index 6dc92da..b57b32f 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,4 +1,24 @@ -## Changes between 1.6.0 and 1.7.0 +## Changes between 1.6.0 and 1.7.0-beta1 + +### Fune Tuning Cursor Options + +`monger.query` DSL now provides a way to fine tune database cursor +options: + +``` clojure +(with-collection "products" + ... + (options {:notimeout true, :slaveok false}) ;; where keyword matches Bytes/QUERYOPTION_* + (options [:notimeout :slaveok]) + (options com.mongodb.Bytes/QUERYOPTION_NOTIMEOUT) ;; support Java constants + (options :notimeout) + ... +``` + +`monger.cursor` is a new namespace that provides the plumbing for cursor +fine tuning but should not be widely used directly. + + ### Joda Time Integration Improvements: LocalDate