Skip to content

Conversation

@apfox
Copy link

@apfox apfox commented Oct 15, 2025

What kind of change does this PR introduce? (pls check at least one)

  • [ x] Bugfix
  • Feature
  • Code style update
  • Refactor
  • Build-related changes
  • Other, please describe below

Description

Each time db() is called, a new connection is created.

    var_dump(spl_object_id(db()->connection()));
    var_dump(spl_object_id(db()->connection()));
    var_dump(spl_object_id(db()->connection()));

23
28
23

Does this PR introduce a breaking change? (check one)

  • Yes
  • [x ] No

Related Issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant