Skip to content

Should getFirst have an alias setLimit #2399

Open
@hos

Description

@hos

Summary

I'm not sure I get all the steps correctly, but if so:
As discussed in discord thread, setFirst is not very expected on pg class steps. In the channel Benjie proposed to "I should probably add a setLimit alias for setFirst", which, in my opinion may add a confusion. What I would rather expect, to only have setLimit, as we are in the context of PgClass step. setFirst makes more sense when we are in the context of connection step.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    🌳 Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions