Index: library/mongodb/example-nx-reference-one.tcl =================================================================== diff -u -N -rc9ef41c49f482a38e89f7cffc54cabf909710425 -ra77464d1f7a06117c621560ec519dc4d387ed5df --- library/mongodb/example-nx-reference-one.tcl (.../example-nx-reference-one.tcl) (revision c9ef41c49f482a38e89f7cffc54cabf909710425) +++ library/mongodb/example-nx-reference-one.tcl (.../example-nx-reference-one.tcl) (revision a77464d1f7a06117c621560ec519dc4d387ed5df) @@ -12,9 +12,10 @@ ::nx::mongo::db connect -db "tutorial" # Make sure, we start always from scratch -nx::mongo::db remove tutorial.users {} -nx::mongo::db remove tutorial.posts {} +nx::mongo::db drop collection users +nx::mongo::db drop collection posts + ###################################################################### # The first approach to implement references simply as an property. # This is just feasible in cases, where the user has just a name and