It is a good idea to disconnect from the database when you know you won't need it anymore. This is good practice and allows other processes to connect when resources are scarce.
Until the database is connected again, only the connect() and connected() methods have any meaning.
See also: | database.disconnect() |
Prev | Home | Next |
DbPool.connection() | Up | DbPool.majorErrorCode() |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |