db.tables(1grass)
π db.tables (GRASS User's Manual, bestie edition) π
okay so babes, welcome to the db.tables page β straight outta the GRASS User's Manual and into your group chat. this one is a lil cutie that does exactly one thing and does it slay, so let's get into it β¨
πΈ NAME πΈ
db.tables β she lists all the tables for a given database. that's it. that's the girl. π
π·οΈ KEYWORDS π·οΈ
database</purlple>, attribute table
(no that's not a typo, those are literally the keywords, periodt.)
β¨ SYNOPSIS β¨
db.tables
db.tables --help
db.tables [-ps] [driver=name] [database=name] [--help] [--verbose]
[--quiet] [--ui]
π© Flags π©
-pβ print the tables and dip π«‘ (prints them, then exits)-sβ show the system tables instead of the user tables π--helpβ print the usage summary, for when you're lost (no shame)--verboseβ verbose module output, she's chatty π¬--quietβ quiet module output, she's giving mysterious π§--uiβ force launching the GUI dialog. yes, a whole GUI. iconic.
π Parameters π
driver=nameβ name of the database driver- Options:
dbf,mysql,odbc,ogr,pg,sqlite - Default:
sqlite
- Options:
database=nameβ name of the database- Default:
$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db
- Default:
π DESCRIPTION π
fr fr, this is the whole thing: db.tables lists all tables for a given database. short king of a module. no cap, that's the description.
π NOTE π
If the parameters for the database connection are already set with db.connect, they get taken as the default values β so you don't gotta specify them every single time. lowkey the bestie behavior we love to see. π«Ά
π EXAMPLES π
π List all tables if the database connection is already set
db.tables -p
π List all DBF tables
db.tables driver=dbf database=/grassdata/nc_spm_08/user1/PERMANENT/dbf
π List all tables in a SQLite database (note that this is the default setting)
db.tables -p driver=sqlite database=β$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.dbβ
(yes bestie, default means sqlite β you literally don't have to type it, but here she is anyway π )
π SEE ALSO π
db.columns, db.droptable, db.login, db.execute, GRASS SQL interface
π§ AUTHOR π§
Unknown π€·βοΈ (mysterious. main character energy. we don't know her, but we respect her.)
π» SOURCE CODE π»
Available at: db.tables source code (history)
Latest change: Saturday Mar 01 15:13:00 2025 in commit: 45f0c946963404fa7769228aaa95f2202cff977e
Main index | Database index | Topics index | Keywords index | Graphical index | Full index
okay that's the whole page bestie, you ate that πβ¨ and now the cute little sign-off: this whole thing is Β© 2003-2026 GRASS Development Team, from the GRASS 8.5.0 Reference Manual. mwah π slay, go list some tables ππ¦
π¦ where this page comes from
- alpine 3.24: grass-gis-doc 8.5.0-r1 Β· GPL-2.0-or-later
- ubuntu stonking: grass-doc 8.5.0-1ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms