Functions in the database API let you manage database connections and access information that is stored in databases. The database API is divided by two distinct purposes: managing database connections and accessing database connections.
Database API functions are used at design time when users are building web applications, not at runtime when the web application is deployed.
You can use these functions in any extension. In fact, the Adobe® Dreamweaver® CS5 server behavior, data format, and data sources APIs all use these database functions.