Index: library/mongodb/README.md =================================================================== diff -u -rc1f4cdc0b3367d4c0c2e69e4d983f45ed242fb83 -r4e80fb687a82af0fc9ac0d109863931f4910de4a --- library/mongodb/README.md (.../README.md) (revision c1f4cdc0b3367d4c0c2e69e4d983f45ed242fb83) +++ library/mongodb/README.md (.../README.md) (revision 4e80fb687a82af0fc9ac0d109863931f4910de4a) @@ -91,12 +91,12 @@ --enable-threads --enable-symbols ```` -In order to run the sample script, +In order to run the NSF sample script, perform the following steps * first start the mongodb (e.g. mongod) * go to your NSF source directory * make sure, the c-driver libraries are on the library path - (assuming the c-driver was installed in /usr/local/lib) + (assuming the c-driver was installed in /usr/local/lib) Linux: @@ -117,10 +117,9 @@ ./nxsh library/mongodb/tests/nsf-mongo.test ```` - The script is using both the low-level interface (nsf::mongo) and the + The script tests the low-level interface (nsf::mongo) and the high-level one (nx::mongo), with each exercising a - few insert, query and delete statements, some of which are - commented out. + few insert, query and delete statements. After running this script, you should check the content using the MongoDB shell: @@ -141,10 +140,24 @@ > quit() ```` -## Further sample-scripts: ## +## Testing the object oriented mapping between NX and MongoDB: ## +Test the basic mapping and the OO query methods: + ```` + ./nxsh library/mongodb/tests/nx-mongo.test +```` + +Show the classical Business Informer example in NX: + +```` ./nxsh library/mongodb/tests/nx-bi.test +```` + +Further test scripts for reference handling, serialization and +MongoDB GridFS. + +```` ./nxsh library/mongodb/tests/nx-reference-one.test ./nxsh library/mongodb/tests/nx-reference-many.test ./nxsh library/mongodb/tests/nx-rep.test