[web-devel] mongodb test issue and nested models
planrichi at gmail.com
Tue Jun 26 20:44:44 CEST 2012
i'm having 2 problems, maybe someone can help me:
1) first I would like to write some tests for my web proj. but 'yesod test'
does not run due to
a compile time error.
i get the same error like on this issue but i got no clue how to fix it:
2) second I dunno if my approach is correct.
I'm using mongodb and i have entities like so:
As it compiles like a charm and i can add A types to B entities, these A
entities do not have
an _id field. This seems logical to me due to the type A does not have this
_id property generated, like
described in the book and i do not 'insert' the A type but simply update a
I would like to identify (not by index) these nested A entities as i'm
going to delete/update them from time to time.
Can you point out the way how I would do that?
I also searched alot for more docu on the mongoDB persistent api, is there
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the web-devel