JOINING Two tables

108 views
Skip to first unread message

Rebin Joseph

unread,
Feb 28, 2014, 1:04:48 AM2/28/14
to persis...@googlegroups.com
Dear All,

How can we retrieve data from two tables based on a FK relation.

Zef Hemel

unread,
Feb 28, 2014, 2:37:15 AM2/28/14
to persis...@googlegroups.com
An example would help, but I don't think persistence.js supports this. 
— Zef

Sent from my iPhone


On Fri, Feb 28, 2014 at 8:04 AM, Rebin Joseph <rebink...@gmail.com> wrote:

Dear All,

How can we retrieve data from two tables based on a FK relation.

--
You received this message because you are subscribed to the Google Groups "persistence.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to persistencej...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Rebin Joseph

unread,
Feb 28, 2014, 5:43:43 AM2/28/14
to persis...@googlegroups.com
Okay. Another question is order by two columns. I tried

App.myTable.all().order("VisitDate", false).order("VisitTime", false);

and it is not working , takes only date. please advice
Reply all
Reply to author
Forward
0 new messages