From dd9dcbe44bdb2c15add75ea0c2a0d85532c43563 Mon Sep 17 00:00:00 2001 From: Louis Chatriot Date: Tue, 19 Jan 2016 01:55:02 -0800 Subject: [PATCH] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1ccdf8b..8a62597 100755 --- a/README.md +++ b/README.md @@ -589,7 +589,8 @@ db.insert({ somefield: 'nedb' }, function (err) { db.removeIndex('somefield', function (err) { }); -// Example of using expireAfterSeconds to remove documents 1 hour after their creation (timestampData option is true here) +// Example of using expireAfterSeconds to remove documents 1 hour +// after their creation (timestampData option is true here) db.ensureIndex({ fieldName: 'createdAt', expireAfterSeconds: 3600 }, function (err) { }); ```