Index: library/mongodb/nx-mongo.tcl =================================================================== diff -u -ra467cf37f204cc977b7af7519a0994c65f9ed10f -rc9ef41c49f482a38e89f7cffc54cabf909710425 --- library/mongodb/nx-mongo.tcl (.../nx-mongo.tcl) (revision a467cf37f204cc977b7af7519a0994c65f9ed10f) +++ library/mongodb/nx-mongo.tcl (.../nx-mongo.tcl) (revision c9ef41c49f482a38e89f7cffc54cabf909710425) @@ -341,7 +341,7 @@ # :public method property {spec {-class ::nx::mongo::Attribute} {initblock ""}} { regsub -all {,type=} $spec {,arg=} spec - next [list $spec -class $class $initblock] + next [list -class $class $spec $initblock] } # @@ -477,7 +477,7 @@ # # _id is the special property maintained by mongoDB # - :property _id -class ::nx::mongo::Attribute { + :property -class ::nx::mongo::Attribute _id { set :mongotype oid }