I got this as string: app.model('Categories').findAll()
.
When I run this 'command' it returns something. How am I able to get the result by running this string?
Thanks
ps, sorry for the bad explanation :S
I got this as string: app.model('Categories').findAll()
.
When I run this 'command' it returns something. How am I able to get the result by running this string?
Thanks
ps, sorry for the bad explanation :S
I've got it!
eval()
is the solution.
So run console.log(eval(app.model('Categories').findAll()))
:)