Skip to content

Commit

Permalink
Version 1.2.2
Browse files Browse the repository at this point in the history
Upgrade to mongo-c-driver 1.16
mongo.BSON(): autodetect between BSON/JSON data
Minor fixes, tests & docs

New API for consistency with Mongo C Driver's API:
+ collection:insertMany(document1, document2, ...)
+ collection:insertOne(document, [options])
+ collection:removeMany(query, [options])
+ collection:removeOne(query, [options])
+ collection:replaceOne(query, document, [options])
+ collection:updateMany(query, document, [options])
+ collection:updateOne(query, document, [options])
  • Loading branch information
neoxic committed Jun 26, 2020
1 parent 2f34d10 commit 73b4cd1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions VERSION
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Current: 1.2.1
Release: 1.2.1
Current: 1.2.2
Release: 1.2.2
2 changes: 1 addition & 1 deletion src/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#endif

#define MODNAME "lua-mongo"
#define VERSION "1.2.1"
#define VERSION "1.2.2"

#define TYPE_BINARY "mongo.Binary"
#define TYPE_BSON "mongo.BSON"
Expand Down

0 comments on commit 73b4cd1

Please sign in to comment.