Commit Graph

23 Commits

Author SHA1 Message Date
Matej Kenda
3838070146
Resolves #3484: support for OP_MSG in Poco::MongoDB (#3902)
* Binary writer/reader: add writeCString and readCString.

* MongoDB::Database: add queryBuildInfo and queryServerHello; add WireVersion enum.

* MongoDB: Introduce OpMsgMessage (request and reply) and related changes in Connection, Database, MessageHeader.

* MongoDB: First unit test changes for OpMsgMessage.

* MongoDB::Document: new functions addNewArray and remove.

* MongoDB: OP_MSG unacknowledged write and many improvements

* MongoDB: new cursor using OP_MSG

* MongoDB: bunch of new tests for OP_MSG wire protocol.

* BinaryWriter::WriteCString: use write instead of operator <<.

* MongoDB::OpMsgCursor: Slightly modified prototype code for using moreToCome flag.

* MongoDB: Add OpMsg* files to Makefiles.

* MongoDB: Add OpMsg* files to VS project files.

* Compile fixes.

* MongoDB::Database: Add factory function for database commands createOpMsgMessage() and cursors createOpMsgCursor()
2023-03-20 01:50:15 -05:00
Günter Obiltschnig
584482677f backport #2553: Fixed Poco::MongoDB not working on big-endian architecture system 2018-11-23 08:34:21 +01:00
Guenter Obiltschnig
d90a3da585 merge fixes from develop 2017-11-08 11:48:52 +01:00
Guenter Obiltschnig
d172273a75 remove remaining $Id$ tags from file headers 2017-10-31 16:01:51 +01:00
Guenter Obiltschnig
1aa6f72085 MongoDB: fixes for style and consistency 2017-02-13 15:53:08 +01:00
Guenter Obiltschnig
9f8146ccaa merged changes from develop; added authentication support 2017-02-12 23:13:51 +01:00
Tomaz Beltram
b042b892db Renamed SpecialTimestamp to BSONTimestamp 2016-09-28 10:58:46 +02:00
Tomaz Beltram
584a776d77 Revert "Renamed MongoDB::SpecialTimestamp to MongoDB::Timestamp"
This reverts commit 06f6f05566.
2016-09-28 10:55:05 +02:00
Tomaz Beltram
06f6f05566 Renamed MongoDB::SpecialTimestamp to MongoDB::Timestamp 2016-09-28 10:47:14 +02:00
Tomaz Beltram
1852739547 MongoDB BSON type 0x11 support, fixes #1429 2016-09-28 10:16:03 +02:00
Roger Meier
b0581433a7 LICENSE: add info about SPDX-License-Identifier usage and use it
fix: remove executable flag and change back to 100644 (was 100755)

Signed-off-by: Roger Meier <r.meier@siemens.com>
2014-05-14 08:38:09 +02:00
Roger Meier
628a06f718 LICENSE: add info about SPDX-License-Identifier usage and use it
Signed-off-by: Roger Meier <roger@bufferoverflow.ch>
2014-05-04 21:02:42 +02:00
aleks-f
3d16ce00a2 only style changes 2013-03-17 13:34:36 -05:00
Aleksandar Fabijanic
ff0e439aa5 VS 71,80,90 projects, style edits 2013-03-11 22:50:08 -05:00
fbraem
c6d53a0608 Avoid endless loop when indent is set to -1, cleanup code 2013-03-09 20:45:22 +01:00
fbraem
e793083a0a Correct indentation 2013-03-01 21:59:50 +01:00
fbraem
7328eace34 Add method addNewDocument and return a reference of the active document in the add methods to allow chaining these methods ... 2013-02-21 16:48:21 +01:00
fbraem
a39b33b3e9 Add const to get method 2013-02-19 22:32:40 +01:00
fbraem
13380b5eb9 Make indentation work in toString 2013-02-17 18:41:36 +01:00
fbraem
bf315df7a6 Cleaning up code, add docs, add getMore sample ... 2013-02-15 22:32:24 +01:00
fbraem
8fddacd451 Update toString method 2013-02-14 22:51:51 +01:00
fbraem
9765ccf587 Make it work again 2013-02-13 19:10:57 +01:00
fbraem
749e7cd2ca Add MongoDB classes 2013-02-02 21:52:49 +01:00