This example is part of the RAP - Rdf API for PHP documentation.
Note: | RAP uses ADOdb Library for PHP V4.52 (http://adodb.sourceforge.net/), which allows you to connect to multiple databases in a portable manner. For a list of supported databases see the ADOdb documentation. |
Set the system DSN for the particular database file (control pannel -> administrative tools -> data sources (odbc) -> system DSN).
|
|
|
Note: | Method createTables() currently supports only MySQL, MS SQL Server, and MsAccess. If you want to use other databases, you will have to create tables by yourself according to the abstract database schema provided with the API documentation. |
|
Warning: | If you close the rdf database all active instances of DbModel from this DbStore will lose their database connection !!! |