Skip to content

.get(), .all(): allow search? #25

@wmertens

Description

@wmertens

.all() is rarely used and has no parameters, so it would be a nice alias for .searchAll(attrs, options) when arguments are passed.

Likewise, .get() always has a scalar for the first argument, so if the first argument is an object, .get(attrs, options) could be an alias for .searchOne(attrs, options)

@Dzieni thoughts? One or the other or both or none?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions