Yeah , the database is MongoDb and it makes the collection/table key as _id
On Wednesday, November 19, 2014 10:35:28 PM UTC-4, ENTR0PY wrote:
>
> hello i have a table named *rating*
> with the columns :
> _id
> rating
>
> my model is below , but when i do boss_db:find(rating,[]).
> it retuns an empty list []
>
> for completeness the table has 2 records
>
> -module(rating , [Id , Rating])*.
> *-table("rating")*.
> * -columns([{id , "id"} , {rating , "rating"}]).-compile(export_all)
>
>
> *.*
>
>
>
--
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 [email protected].
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/406136ec-196e-4a3f-ba6e-2e45a0e8a687%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.