Skip to content

returning specific data #25

@mategvo

Description

@mategvo

First of all, thank you very much for sharing your work. It's amazing! Let's get rid of all the nasty foreach loops! :)

I was wondering, how difficult would it be, to return specific fields, instead of entire matched arrays.
Let's say I am looking in an array of invoices, for all with status "done"

s.matchArray(database.invoices,{"status":"done"})

rather then returning all of the invoice data, I would need only value parameter. I don't think this is currently possible, right?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions