![]() |
![]()
| ![]() |
![]()
NAMEdb.databases - Lists all databases for a given driver and location. KEYWORDSdatabase, attribute table, SQL SYNOPSISdb.databases
Flags:Parameters:
DESCRIPTIONdb.databases lists all databases for a given driver and optionally location. NOTESCurrently supported database drivers are SQLite, PostgreSQL, and ODBC. Default location for SQLite driver is the full path for the current mapset. For PostgreSQL driver it’s empty connection string. EXAMPLESList SQLite databases in the current mapset:
db.databases driver=sqlite List SQLite databases in a given directory:
db.databases driver=sqlite location=/opt/sqlite List PostgreSQL databases from database server running on given
port:
db.databases driver=pg location="host=server_name port=5333" SEE ALSOdb.columns, db.describe, db.drivers, db.execute, db.login, db.tables GRASS SQL interface AUTHORSRadim Blazek, ITC-Irst, Trento, Italy
SOURCE CODEAvailable at: db.databases source code (history) Latest change: Thursday Jan 26 14:10:26 2023 in commit: cdd84c130cea04b204479e2efdc75c742efc4843 Main index | Database index | Topics index | Keywords index | Graphical index | Full index © 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual
|