Commit Graph

56 Commits

Author SHA1 Message Date
TimTim
3c89b23109 moved #endif to the correct place 2017-06-01 17:47:32 +08:00
Guenter Obiltschnig
4e0b11f306 MongoDB: fixes for consistency and code style 2017-02-13 16:06:20 +01:00
Guenter Obiltschnig
ffbfcf3ee0 added authentication support 2017-02-12 23:23:11 +01:00
Guenter Obiltschnig
61e0561182 fixed GH #1429: exception thrown in MongoDB when using replicaset 2016-09-28 12:31:48 +02:00
Aleksandar Fabijanic
f51cb5f6fd Merge pull request #1146 from matejk/gh-860
MongoDB: disable unwanted release of resources in PooledConnection
2016-05-05 12:42:44 -05:00
Mathäus Mendel
ede77f46ee Removed unused variables
When compiling with higher warning levels the compiler warns about
these unused variables.
2016-03-09 17:20:37 -03:00
Matej Kenda
0ba1e62811 MongoDB::PooledConnection: Prevent unwanted release by disabling copy semantics. Enabled move semantics for C++11. 2016-02-03 21:39:29 +01:00
fbraem
a5a46bab95 Add UUID support 2015-12-12 19:13:55 +01:00
fbraem
edc8d2abff Add getInteger 2015-12-12 17:15:55 +01:00
fbraem
0f7729cbb5 Surround date in toString with quotes. Fix #1062 2015-12-08 18:37:08 +01:00
Aleksandar Fabijanic
99f013f678 Merge pull request #852 from fbraem/develop
Database::count() can parse different types of 'n' attribute in result.
2015-06-05 08:59:32 -05:00
fbraem
aaabc3c9e9 Database::count() can parse different types of 'n' attribute in result. 2015-06-03 20:34:05 +02:00
Aleksandar Fabijanic
15a7bc3a0b Merge pull request #841 from fbraem/develop
Added const to Document/Array::isType
2015-05-28 12:16:28 -05:00
fbraem
623dfe7606 Added const to Document/Array::isType 2015-05-28 16:32:00 +02:00
Matej Kenda
01fc7f2e1c Added condition variable and timeout to ObjectPool::borrowObject/returnObject to block caller until an object is available. 2015-05-27 14:01:39 +02:00
fbraem
4da82a4102 Use std::list for storing elements in document instead of std::set 2015-05-14 18:34:57 +02:00
fbraem
4c4ab51a2c Use type int for count 2015-03-21 21:57:01 +01:00
fbraem
65c704ea90 Fix #750 missing binary size 2015-03-21 21:53:51 +01:00
fbraem
eb879985b0 ObjectId constructor translates a hex string (24 characters) into a 12 byte object id 2014-12-20 19:11:16 +01:00
Guenter Obiltschnig
544229302e #538 prevent destructors from throwing exceptions 2014-09-19 09:46:49 +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
Alex Fabijanic
c1eb293261 GH #440 changed default string format 2014-05-08 21:48:41 -05:00
Alex Fabijanic
556d8cf1c4 GH #440 MongoDB ObjectId string formatting 2014-05-08 21:35:56 -05: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
Alex Fabijanic
46b5785d98 - fixed PS build script environment vars generation
- fixed MongoDB 64-bit std::size_t warnings
- added Thread::trySleep()/wakeUp() and tests
2014-04-25 23:50:53 -05:00
Aleksandar Fabijanic
d9f92d506d Update MessageHeader.h 2014-03-11 20:31:06 -05:00
fbraem
65988bbf8d Use Int32 for messageLength 2014-02-19 19:07:02 +01:00
Aleksandar Fabijanic
5cde6d34df MSVC 7.1 build fixes 2013-03-30 13:02:16 -05:00
aleks-f
3d16ce00a2 only style changes 2013-03-17 13:34:36 -05:00
aleks-f
bb904d613b VS 100 and 110 projects
- generated VS 100 and 110 projects
- changed message length from signed 32 bit int to std::size_t
2013-03-11 23:48:41 -05:00
Aleksandar Fabijanic
ff0e439aa5 VS 71,80,90 projects, style edits 2013-03-11 22:50:08 -05:00
fbraem
26e89db0dd Add createUpdateRequest, createDeleteRequest 2013-03-01 21:42:51 +01:00
fbraem
ee360d307c Add methods that turns a numeric index into a string for getting the element (an array is actually a document) 2013-02-27 19:51:33 +01:00
fbraem
d1b318b806 Add size method 2013-02-27 19:50:05 +01:00
fbraem
2d3e78146d Add createCommand method and rearrange code 2013-02-27 18:51:55 +01:00
fbraem
6a8b2c5a48 Add some handy "short-cut" functions 2013-02-27 18:51:05 +01:00
fbraem
382dbd5637 Add addNewDocument method 2013-02-23 17:36:10 +01:00
fbraem
60afc2dbd0 Add ensureIndex 2013-02-22 19:29:48 +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
e79f75d9fe Rename query() method to selector() 2013-02-20 22:20:55 +01:00
fbraem
e04dca0e13 Provide an add method for a char* value 2013-02-20 22:20:29 +01:00
fbraem
fb94876de2 Add a get method that doesn't throw, but returns a default argument instead 2013-02-19 22:38:00 +01:00
fbraem
a39b33b3e9 Add const to get method 2013-02-19 22:32:40 +01:00
fbraem
79c1edbdfb Add getLastErrorDoc and getLastError 2013-02-19 22:32:11 +01:00
fbraem
13380b5eb9 Make indentation work in toString 2013-02-17 18:41:36 +01:00
fbraem
8d056ce2bf Escape special characters in toString of a string element 2013-02-17 18:40:41 +01:00
fbraem
14ffc9ea4c #include for Poco::RegularExpression moved from element.h to it's correct place 2013-02-17 18:39:34 +01:00
fbraem
cd62f340b4 Rearrange some code and add getter for fullCollectionName 2013-02-16 19:56:32 +01:00
fbraem
dfe27aa917 Cursor class is used to combine query and getmore requests 2013-02-16 19:55:23 +01:00
fbraem
bf315df7a6 Cleaning up code, add docs, add getMore sample ... 2013-02-15 22:32:24 +01:00