Hi, there is a code in this post that doesn't work:
I'm talking about the code with ".alias('db'"
It is must change this line:
return DB.select("select * from members");
to:
return db.select("select * from member");
And the two "insert" used in this sample are using the same id... It is must change one of them.
Kind Regards,
Adriano Schmidt
+55 (48) 9172-1216
Skype: schmidt.adriano