Commit Graph

111 Commits

Author SHA1 Message Date
Sascha Zelzer
8ab80e8ba7 fix cmake build system; fixes #274 2013-08-29 00:46:11 +02:00
Guenter Obiltschnig
bee4024ca2 fixed Makefile 2013-07-22 14:25:56 +02:00
Aleksandar Fabijanic
a00b202f6c VS90 x64 project files fix 2013-06-20 22:07:55 -05:00
Aleksandar Fabijanic
e13708f6d8 updated MongoDB VS90 sample project 2013-03-31 19:23:22 -05: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
fe6715890c MongoDB samples solution 2013-03-12 23:16:41 -05:00
aleks-f
daef0aa403 MongoDB sample build files 2013-03-12 22:58:37 -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
c6d53a0608 Avoid endless loop when indent is set to -1, cleanup code 2013-03-09 20:45:22 +01:00
Aleksandar Fabijanic
3c7bae11fc Merge pull request #115 from fbraem/develop
MongoDB: more samples and some minor changes
2013-03-02 00:05:33 -08:00
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