--
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...@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/6bd1bb29-c3ad-4d1d-bed0-c5fcc4ba5f43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
any one can help?
i do this but got error.
pls see that when i use "Master1:attributes()." got error too.
--
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...@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/94c4b256-20a5-47f6-a1aa-f55bc885831e%40googlegroups.com.
There the problem. find returns a list of elements, not a single element. So Master1 is a list of elements.
Do
[Master1] = boss_db:find(master, [{id, 'equals', "master-1"}]).
Then your attributes call should work.
-Jesse
--
Jesse Gumm
Owner, Sigma Star Systems
414.940.4866 || sigma-star.com || @jessegumm
--
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...@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/d8a4891c-c59e-431c-a7fc-712f68572a03%40googlegroups.com.
Err David beat me to it.
I also did [Master1] in my haste and should have done something like [Master1 | _]
--
Jesse Gumm
Owner, Sigma Star Systems
414.940.4866 || sigma-star.com || @jessegumm
--
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...@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/322eeac1-7296-496a-93da-0a1783597208%40googlegroups.com.