revCloseDatabase | |||||||
Type | command | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | database library | ||||||
Summary | Closes the connection to a database. | ||||||
Introduced | 2.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Parameters |
| ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: string Glossary: LiveCode custom library, Standalone Application Settings, database, standalone application, record set, command Command: revCloseCursor, revRollBackDatabase Function: revDatabaseConnectResult, revdb_rollback, revDatabaseID Library: Database library Control Structure: function | ||||||
Security | disk, network | ||||||
Description | Use the revCloseDatabase command to cleanly log off from a database. All open databases are closed automatically when the application quits. However, it is recommended practice to explicitly close database connections when your stack is finished with them. The revCloseDatabase command closes all open record sets opened by the database, as well as closing the database itself.
| ||||||
Tags | database |