Skip to content

Question regarding result.rowCount #2182

Closed
@MelissaSnell

Description

@MelissaSnell

Hi there

I just wanted to clarify something in the documentation.

On this page for the Result object you say that rowCount is not set for the number of rows returned from a query.

I am finding that for a pool.query, rowCount does seem to be > 0 if result.rows.length>0.

Does rowCount reflect the number of rows returned for a pool.query but not for a client.query?

Many thanks in advance.

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