Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
.pluck('col') regression #296
In the latest (0.6.1) version, a knex('table').where('stuff').pluck('id') no longer resolves to an array of ids, it seems to just resolve to the same thing .select('*') would resolve to.
I worked around just by replacing all my .pluck 'id' calls with .select().then (vals)->vals.map (v)->v.id.