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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added ping function for keep alive connection #103

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

alitelli
Copy link
Contributor

When use library with live application as web socket. We need to make sure connection is alive.
You can call ping() function before database process.
Example:

$db->ping();
$db->table('users')->select('id, name, surname, age')->where('age', '>', 18)->orderBy('id', 'desc')->limit(20)->getAll();

alitelli and others added 5 commits October 27, 2018 22:22
import changes from izniburak/master
When use library with live application as web socket. We need to make sure connection is alive.
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