try [{"0","Field1"},{"1","Field2"},{"2","Field3"}]
On Tuesday, August 19, 2014 3:30:44 AM UTC+4, jason stewart wrote: > > I am trying to add an bson object to a field in my mongodb database using > bossRecord > > Model > > -module(clientList, [Id, Listname, Email, Datablock]). > -compile(export_all). > > Code > > ClientList = clientList:new(id, "Bill","bi...@email.com <javascript:> > ",{{"0","Field1"},{"1","Field2"},{"2","Field3"}}) > boss_db:transaction ( fun()-> ClientList:save() end). > > Error > > [error] Error in controller error undef > > > I understand that a bossRecord is not the same as a bson object, but I am > unsure how to get it in there, is there a converter, do I need to create a > new boss record. > > Also if anyone know any site that explains anything to do with Chicago > boss database access could you let me know, I am finding that the > documentation for it is useless or its just I am not getting it > > -- You received this message because you are subscribed to the Google Groups "ChicagoBoss" group. To unsubscribe from this group and stop receiving emails from it, send an email to chicagoboss+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/chicagoboss. To view this discussion on the web visit https://groups.google.com/d/msgid/chicagoboss/234c1f2b-90fd-43b6-8797-020d49fcea02%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.