Hi Norbert
ah, ok...that works! Thank you!
Sabine

        |theCollection theString|
        theCollection := self database addCollection:   'persons'.
        theString := '{
        "personnelNumber" : "002",
        "bankAccountNumber" : "45215460",
        "lastName" : "Tester",
        "plz" : "79214",
        "nextTripNumber" : 1,
        "displayBubbleTip" : "some",
        "fax" : "+49-762-34834-99",
        "isEmployer" : false,
        "street" : "Haslacher Strasse 2",
        "blz" : "68050101",
        "tableOfAccounts" : "SKR03",
        "place" : "Freiburg",
        "bankName" : "Comdirekt Bank",
        "subtractPaymentInKind" : true,
        "email" : "[email protected]",
        "creationTimestamp" : "23.02.2013-10:39-143192709",
        "phone" : "+49-762-34834",
        "mobile" : "+49-151-38374637",
        "firstName" : "Susi"
}'. 
theCollection add: (Dictionary new at: '002' put: theString; yourself).
        



--
View this message in context: 
http://forum.world.st/MongoTalk-ns-name-too-long-error-tp4671488p4671642.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Reply via email to