foreign key value without another select

52 views
Skip to first unread message

otop...@gmail.com

unread,
Dec 10, 2014, 8:55:31 AM12/10/14
to qdj...@googlegroups.com
Is it possible to get values of foreign key without need to set selectRelated or without need to make another query?

When I call tableA.tableB().pk().toInt() another select is made (I think unnecessarily) - I just need the integer identificator, I dont need whole tableB..

What shall be done to avoid that select? which function to call to get just the the fk value?
Reply all
Reply to author
Forward
0 new messages