Skip to content

Commit

Permalink
minor documentation updates to reflect changes in driver status
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.php.net/repository/pear/packages/DBA/trunk@106247 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
Brent Cook committed Nov 30, 2002
1 parent 5e200c6 commit 9937604
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions docs/README.txt
Expand Up @@ -4,7 +4,7 @@ functions in PHP (e.g. gdbm does not support dba_replace), has its own
file-based dbm driver for installations where dba support is not included
in PHP.

** Using DBA **
** About DBA **

Berkeley DB style databases are much simpler than the other database
systems that PHP supports. They typically support inserting, removing,
Expand All @@ -17,10 +17,9 @@ database system keeps track of data by key-value pairs rather than by
location-offset.

DBA implements all of the basic functionality of a Berkeley database and
adds extra functionality. More complex data models can be created using
DBA_Table and DBA_Relational, which provide the ability to perform
database operations such as selects, joins, sorts and projects on rows
and fields, much like a stand-alone RDBMS.
adds some extra functionality.

** Usage **

DBA objects are generated by calling the static method of class DBA,
create().
Expand All @@ -35,11 +34,9 @@ http://www.php.net/manual/en/ref.dba.php. If the driver string is set to
'file' or the dba_ functions are not present, then a built-in driver
is used.

NOTE: The gdbm and db3 drivers appear to work perfectly with DBA.
Currently (as of PHP 4.3cvs), db2 causes a segmentation fault when
opening a database, and cdb is not very useful due to the fact that it
does not support write operations. dbm and ndbm have not been tested
with DBA.
NOTE: The file, gdbm, db2, db3 and db4 drivers work perfectly with DBA. Other
drivers may work (see http://www.php.net/manual/en/ref.dba.php) but have
not been tested yet.

Once the object is created, a database file can be opened.

Expand Down

0 comments on commit 9937604

Please sign in to comment.