loopback
loopback copied to clipboard
Documentation Error : Querying related models - Copy&Paste Error
http://docs.strongloop.com/display/public/LB/Querying+related+models Under the "Inclusion" section, it writes "Or, equivalently:" but both scripts are exactly the same.
They are different:
include: 'posts' // For a single relation
include: ['posts'] // For one or more relations in an array
Oops, my bad. I must have gone blind from reading too much documentation for a while. Thanks!