11-03-2016, 04:58 PM
First, you should be calling methods on the "db" object with a colon: db:rows(...)
Second, db:rows(...) creates an iterator, the LOG function cannot output the value of an iterator.
Second, db:rows(...) creates an iterator, the LOG function cannot output the value of an iterator.