database(1)

πŸ¦‹ NAME πŸ¦‹

database β€” it's the whole glow-up tour of GRASS GIS database commands, bestie πŸ’…


✨ DESCRIPTION ✨

okay so. Geographic Resources Analysis Support System, aka GRASS GIS (iykyk), is a Geographic Information System (GIS) used for geospatial data management and analysis, image processing, graphics/maps production, spatial modeling, and visualization. no cap. 🌍

GRASS is currently used in academic and commercial settings around the world, as well as by many governmental agencies and environmental consulting companies. it's giving globally iconic. πŸ‘‘

This reference manual details the use of modules distributed with Geographic Resources Analysis Support System (GRASS), an open source (GNU GPLed), image processing and geographic information system (GIS). literally everything you need, all documented, all free. 🫢

  • Go to database introduction | topics
  • Go back to help overview

πŸŽ€ DATABASE COMMANDS πŸŽ€

the main character list, fr fr. every one of these is a baddie:

  • db.columns β€” List all columns for a given table. πŸ‘€
  • db.connect β€” Prints/sets general DB connection for current mapset. the vibe check for your whole database linkup.
  • db.copy β€” Copy a table. dupe it, slay.
  • db.createdb β€” Creates an empty database. a blank canvas, an empty notebook, so aesthetic. 🎨
  • db.databases β€” Lists all databases for a given driver and location.
  • db.describe β€” Describes a table in detail. spill the tea about every field. β˜•
  • db.drivers β€” Lists all database drivers.
  • db.dropcolumn β€” Drops a column from selected attribute table. bye bestie πŸ‘‹
  • db.dropdb β€” Removes an existing database. not me deleting an entire database 😭
  • db.droptable β€” Drops an attribute table.
  • db.execute β€” Executes any SQL statement. raw power, no filter, main character energy. πŸ”₯
  • db.in.ogr β€” Imports attribute tables in various formats.
  • db.login β€” Sets user/password for DB driver/database. πŸ”
  • db.out.ogr β€” Exports attribute tables into various formats.
  • db.select β€” Selects data from attribute table.
  • db.tables β€” Lists all tables for a given database.
  • db.test β€” Test database driver, database must exist and set by db.connect.
  • db.univar β€” Calculates univariate statistics on selected table column. math girlies rise πŸ“Š
ngl, db.test is the strict one β€” the database must exist and must be set by db.connect first, or it's just not happening. πŸ’€

πŸ” SEE ALSO πŸ”

  • Main index | Topics index | Keywords index | Graphical index | Full index

πŸ’– Β© 2003-2025 GRASS Development Team, GRASS GIS 8.4.2 Reference Manual πŸ’–

and that's the whole page, periodt. 🌈✨ this was brought to you by GRASS 8.4.2 and the one and only database(1) β€” stay hydrated, back up your tables, and go read a manual bestie πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from