The column should be 'id', not _id, I would think, depending on the database.

On Thu, Nov 20, 2014 at 3:35 AM, ENTR0PY <[email protected]> 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/73a43839-6d15-4c13-b6ab-46846bf09551%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
David N. Welton

http://www.welton.it/davidw/

http://www.dedasys.com/

-- 
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/CA%2Bb9R_uK9TB40HNnReq_s2H-c-w32HEb6KS__UNxyFpWwhAW-A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to