August 1999
Intermediate to advanced
1488 pages
72h 53m
English
Core object is created when the database.connect() method is called.
The database object represents a given connection to a database. This object has only one property, the prototype property, which you can use to add properties to the object. Table 8.6 lists the methods associated with this object.
Note
If you only need a pool of connections to the database, use the DbPool object for your connection to initialize a pool, and then use the Connection.connection() method to assign a connection.
| Method | Description |
|---|---|
| beginTransaction() | Begins a new SQL transaction. |
| commitTransaction () | Commits the current SQL transaction. |
| connect() | Connects to a particular database as a particular ... |
Read now
Unlock full access