Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Difference between PDOClient and PostgreSQL #68

Open
natepage opened this issue Dec 5, 2023 · 1 comment
Open

Difference between PDOClient and PostgreSQL #68

natepage opened this issue Dec 5, 2023 · 1 comment

Comments

@natepage
Copy link

natepage commented Dec 5, 2023

Hi there 馃憢

We are using openswoole in our project, it is a simple HTTP server connecting to a Postgres database using a Coroutine ClientPool.

We are currently using the OpenSwoole\Core\Coroutine\Client\PDOClient to connect to our Postgres database, and it is functional, however I was wondering what was the difference between this solution and the dedicated OpenSwoole\Coroutine\PostgreSQL?

Should we consider switching to PostgreSQL?
If yes, why?

Thanks

@amitabhkant
Copy link

Hey @natepage
I am trying to use OpenSwoole\Coroutine\PostgreSQL , but having problems using it. Would you mind sharing a basic example of how you have used the PDOClient with openswoole.

Thanks

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

No branches or pull requests

2 participants