Not equivalent. The square brackets are specifying the id'th item in the result set (which begins counting at 0).
Here's a better shortcut for grabbing one record: row = db.table(id)
Not equivalent. The square brackets are specifying the id'th item in the result set (which begins counting at 0).
Here's a better shortcut for grabbing one record: row = db.table(id)