Master1 = boss_db:*find*("master-1").

in case options are required

Master2 = boss_db:*find_first*(master, [{id, 'equals', "master-1"},{option 
1},{option 2}]).

well, you could have saved a lot of yours and your's time if you would have 
sent us all that data from the very beginning as i told you))))


On Tuesday, May 13, 2014 8:09:31 PM UTC+4, Jesse Gumm wrote:
>
> Yeah, you're right. Sorry, I'm still a bit groggy, and answering 
> questions on my phone in bed is not a great way to troubleshoot. 
>
> I was transposing the first query with the second query, and thinking 
> he had two elements being returned. 
>
> Caffeine time for me. 
>
>
>
> On Tue, May 13, 2014 at 11:03 AM, David Welton 
> <[email protected]<javascript:>> 
> wrote: 
> >> I also did [Master1] in my haste and should have done something like 
> >> [Master1 | _] 
> > 
> > Why, out of curiosity?  My reasoning would be: it's supposed to return 
> > one element, and if it doesn't, something is wrong. 
> > 
> > -- 
> > 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] <javascript:>. 
> > 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_thMbtG5m_am-J9OG7nys96TqxDd5Qzzv4mV2_fUeUM0w%40mail.gmail.com.
>  
>
> > For more options, visit https://groups.google.com/d/optout. 
>
>
>
> -- 
> 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 [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/8f1bb4a2-8454-49ac-b705-4a523b2348f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to