Skip to content

Resolve runtime warning regarding unnecessary dbFetch() calls #73

@kamilsi

Description

@kamilsi

During the execution of our application, we encountered a warning message that may indicate a misalignment with best practices in database interaction. The warning is as follows:

Warning message:
Don't need to call dbFetch() for statements, only for queries

This warning suggests that dbFetch() is being called in scenarios where it might not be necessary, potentially for statements that do not return a result set (e.g., INSERT, UPDATE, DELETE statements).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions