Define a database. This is a parent class to all of the supported
database flavours. It holds the main data describing a database and it's connection. The actual functionality to connect to a physical database and access its data is defined in the child classes of this one. For example, see file 'db-postgres.php'.
Normal users of the system should not have to deal with this class directly.
The datasources class is a container for multiple 'databases' or instances of this class.
Located in /database-defs.php (line 546)
Flag true if database was connected ok
Unique identifier for database access
The SQL statement last executed on this database. This
Host server of this database
Name of this database
Default password to connect as
True if we want a persistent connection
Port to access it via TCP
The result ID last returned by a query on this DB. Also
Microtimer for query execute timing
Type of database eg: "postgres", "mssql_server"..
Default user to connect as
Constructor
This method must be defined in the child class.
Return a Php boolean from a database field value. The database field is expected to be a container of some form of logical value. Here is where we convert it according to the current database.
Make conversions of boolean syntax found in the SQL string and return the 'standardised' SQL. This assumes that Axyl SQL will be written in the form 'WHERE foo=TRUE'.
Return the current sequence value, given a sequence name, the table and the field it applies to.
Return a suitable database field value to contain the value for the given boolean.
This method must be defined in the child class.
This method must be defined in the child class.
This method must be defined in the child class.
This method must be defined in the child class.
Return the next sequence value, given a sequence name, the table and the field it applies to.
This method must be defined in the child class.
This method must be defined in the child class.
This method must be defined in the child class.
Given an Axyl SQL query object, build the SQL string from it in suitable format for the currently connected database server.
Documentation generated by phpDocumentor 1.3.0RC3