Skip to content

ds.where inserts _id data when passing array as value to columns option #219

@allthesignals

Description

@allthesignals
var cut = ds.where({ columns: config.data
                     , rows: function(row) { 
                          return row[config.where.column] == config.where.value } 
                    })

I'm just trying to understand this better, and maybe this isn't the proper use case, but when using an array from an object in the columns property, I notice _id data is pushed into the config.data array. Is this intended?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions