Closed Trellian closed 8 years ago
Hi Adrian,
If you see inside User there is an @Column of Log, for each user that matches the join condition, the nested Log object will be populated. So in this example the users[0].getLog();
will return the log associated with the user.
Cheers, Sam
Debugging the sample and seeing the output from the inner join might make things clearer: https://github.com/memtrip/SQLKing/blob/master/sample/app/src/main/java/com/memtrip/sqlking/sample/comment/CommentActivity.java#L144
Cheers, Sam
Hi Sam,
Is it possible to retrieve columns from tables that have been joined? Looking at the examples in the tests, it seems that only the root table columnset is returned.
eg. below, the return is of Class User, I can't see how to retrieve the Log columns.
Thanks, Adrian