Databases: DATA
Martin Alterisio (contact me)
DATA stands for Database Access Through Arrays. This package can be used to access data stored in MySQL tables like accessing arrays. It uses SPL to implement several classes and iterators interfaces to access MySQL databases.
Examples:
$DB['test_table'][] = array(
'name' => 'first',
'value' => 'the first row'
);
foreach ($DB['test_table'] as $i => $row) {
...
}
$DB['test_table']['first']['value'] = '1st';
unset($DB['test_table']['first']);
Click here for detailed information about this class on phpclasses.org
Appl.
Main include file of the DATA library.
Class
An interface to algorithmic solutions for mapping an associative array index to rows in a database table.
Class
An exception thrown when an unset has been tried on a row field.
Class
All exceptions inside the DATA library extend this exception.
Class
An exception thrown when trying to read a field that doesn't exist on the table.
Class
All exceptions that occur on indexing strategies extend this exception.
Class
An exception thrown when a sql date field is filled with an invalid value.
Class
An exception thrown when a sql datetime field is filled with an invalid value.
Class
An exception thrown when a sql decimal field is filled with an invalid value or has overflown its capacity.
Class
An exception thrown when a sql int field is filled with an invalid value or has overflown its capacity.
Class
An exception thrown when a sql time field is filled with an invalid value.
Class
An exception thrown when a feature hasn't been implemented yet.
Class
An exception thrown when trying to null a not nullable sql field.
Class
Interface for numerical objects.
Class
An exception thrown when a primary key is required for the operation requested.
Class
An exception thrown when a primary key is too large for the operation requested.
Class
An exception thrown when access to the database through an object is read only.
Class
An exception thrown when trying to read a row that doesn't exist on the table.
Class
ANSI SQL Character data type representation.
Class
A concrete factory for inboxing strings into char fields.
Class
ANSI SQL Date data type representation.
Class
ANSI SQL Datetime data type representation.
Class
ANSI SQL arbitrary size number with decimals data type representation.
Class
A concrete factory for inboxing php values into decimal fields.
Class
ANSI SQL Integer data type representation.
Class
A concrete factory for inboxing php values into int fields.
Class
ANSI SQL small integer data type representation.
Class
A concrete factory for inboxing php values into small int fields.
Class
ANSI SQL Time data type representation.
Class
SQL type representation.
Class
An exception thrown when an sql type constraint fails to apply to a value.
Class
Abstract factory for SQL types representations.
Class
ANSI SQL Character Varying data type representation.
Class
A concrete factory for inboxing strings into varchar fields.
Class
This class provides basic interaction with a MySQL5 database.
Class
This class is the abstraction of a MySQL5 database implementing the array access behavior.
Class
Default strategy for mapping an associative array index to rows in a database table.
Class
An exception thrown when an error is detected on an operation with a MySQL5 database.
Class
Strategy for mapping array offsets to primary key values.
Class
This class is the abstraction of a MySQL5 table row implementing the array access and iteration behavior.
Class
MySQL5 schema observation functions class
Class
A concrete factory for inboxing string with mysql date format into date objects.
Class
A concrete factory for inboxing string with mysql datetime format into datetime objects.
Class
A concrete factory for inboxing string with mysql time format into time objects.
Class
This class is the abstraction of a MySQL5 table implementing the array access and iteration behavior.