| Extracted from Pike v7.8 release 866 at 2018-07-18.

[Top]
Sql
Sql.Sql

# Method Sql.Sql()->is_open()

Method is_open

  `int is_open()`

Description

  Returns true if the connection seems to be open.

Note

  This function only checks that there's an open connection, and that the other end hasn't closed it yet. No data is sent over the connection.

  For a more reliable check of whether the connection is alive, please use ping() .

See also

  ping()