Note: You are currently viewing documentation for Moodle 2.3. Up-to-date documentation for the latest stable version is available here: ADO connection object.

ADO connection object

From MoodleDocs
Revision as of 16:01, 28 November 2009 by chris collman (talk | contribs) (ado connection object moved to ADO connection object: Proper name, not sure if Moodle useful)

The ADO Connection Object is used to create an open connection to a data source. Through this connection, you can access and manipulate a database.

If you want to access a database multiple times, you should establish a connection using the Connection object. You can also make a connection to a database by passing a connection string via a Command or Recordset object. However, this type of connection is only good for one specific, single query.