aRTconn-openDb {aRT} | R Documentation |
Open a database connection from a virtual connection.
## S4 method for signature 'aRTconn': openDb(con, dbname, update, views)
con |
Object of class aRTconn . |
dbname |
Database name. |
update |
When the database version is older than the actual TerraLib version, set it TRUE to update to the newest version.
You can connect to a database older than the actual version without updating it, but you have to take into account that unexpected errors may occour. |
views |
A string with a username. If used, aRT will load the views from that user instead of the views of the owner of the connection. Note that the permissions in the database are controlled by the user/password of the aRTconn, that still being used for the connection. This user is just for TerraLib purposes. |
Pedro Ribeiro de Andrade
createDb
to create new databases.
aRTconn-class
to show the description of this class.
## Not run: con=openConn() db=openDb(con, "database") ## End(Not run)