Commit Graph

149 Commits

Author SHA1 Message Date
fbraem
b860cd2cbb Add some newlines in output 2013-03-01 22:06:47 +01:00
fbraem
e793083a0a Correct indentation 2013-03-01 21:59:50 +01:00
fbraem
39fc777a6b Add sample11, 12 and 13 2013-03-01 21:43:12 +01:00
fbraem
26e89db0dd Add createUpdateRequest, createDeleteRequest 2013-03-01 21:42:51 +01:00
Aleksandar Fabijanic
c43d4bd626 Merge pull request #113 from fbraem/develop
MongoDB: more methods and samples
2013-02-28 12:57:50 -08:00
fbraem
c52dcc1c2f Add more samples 2013-02-27 19:51:44 +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
99cd51d727 Use addNewDocument when possible, add sample for ensureIndex 2013-02-22 19:30:14 +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
7600eed502 Add more samples 2013-02-20 22:21:26 +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
25141680e2 Add first samples 2013-02-19 22:59:47 +01:00
Aleksandar Fabijanic
f0f7f0fd3c Merge pull request #98 from fbraem/develop
Develop
2013-02-19 13:42:56 -08:00
fbraem
005e629fc7 Implement the correct way of traversing a cursor 2013-02-19 22:38:27 +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
Marian Krivos
9349786415 cmake and gcc warning fixes 2013-02-19 06:16:12 +01:00
fbraem
13380b5eb9 Make indentation work in toString 2013-02-17 18:41:36 +01:00
fbraem
b19401af37 Solve wrong assert 2013-02-17 18:40:58 +01:00
fbraem
8d056ce2bf Escape special characters in toString of a string element 2013-02-17 18:40:41 +01:00
fbraem
1643089087 Add indent argument 2013-02-17 18:40:02 +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
249a813db4 Premake is not the official build tool of POCO, so remove it 2013-02-16 20:53:19 +01:00
fbraem
2f4d4129ab Add more build files 2013-02-16 20:51:58 +01:00
fbraem
72f041c21f Add missing Database 2013-02-16 20:51:36 +01:00
fbraem
c33b2506cf Rearrange initialisations to remove warnings 2013-02-16 20:51:23 +01:00
fbraem
39b685ee78 Add missing source files 2013-02-16 20:14:39 +01:00
fbraem
cd62f340b4 Rearrange some code and add getter for fullCollectionName 2013-02-16 19:56:32 +01:00
fbraem
d9296a0dc0 Change getMore test into Cursor test 2013-02-16 19:55:49 +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
fbraem
58958d2655 Add more tests 2013-02-14 22:54:06 +01:00
fbraem
c2dbb70b0b Implement toString 2013-02-14 22:53:45 +01:00
fbraem
8fddacd451 Update toString method 2013-02-14 22:51:51 +01:00
fbraem
9696d7d339 Add more functions 2013-02-14 22:51:30 +01:00
fbraem
b8e9cc1e23 Implement toString 2013-02-14 22:50:55 +01:00
fbraem
7818a6c046 Put quotes around string in toString, boolean is an unsigned value 2013-02-14 22:50:43 +01:00
fbraem
2475bebb30 Add elements(), make toString virtual and _elements protected 2013-02-14 22:49:53 +01:00
fbraem
9a5b149a01 Correct some settings 2013-02-13 19:11:26 +01:00
fbraem
9765ccf587 Make it work again 2013-02-13 19:10:57 +01:00
fbraem
913020e89d Removed 2013-02-13 19:10:10 +01:00
fbraem
749e7cd2ca Add MongoDB classes 2013-02-02 21:52:49 +01:00