Assume I have the following function:
Person.find({ surname: "Doe" }).only("name", "surname").run(function (err, people) {
});
This is what I have tried using promises:
Q.nfcall(Person.find.only('name', 'surname').run, {surname: 'Doe'});
Where should I insert arguments for the only() function using promises?
Thank you
Person.findfrom?