v.db.update(1)

NAME
v.db.update - allows to assign a new value to a column in the attribute table connected to a given map

KEYWORDS
vector, database, attribute table

SYNOPSIS
v.db.update
v.db.update help
v.db.update map=string [layer=integer] column=string value=string [where=string]

  Parameters:

map=string
    vector map for which to edit attribute table

layer=integer
    Layer where to add column Default: 1

column=string
    column to update

value=string
    new value to assign to the column (varchar values have to be in single quotes, ex: 'grass')

where=string
    condition for update (everything after the 'where' sql statement; ex: cat=1 or col1/col2>1)

DESCRIPTION
v.db.update allows to assign a new value to a column in the attribute table connected to a given map.

NOTES
v.db.update is just a front-end to db.execute to allow easier usage.

SEE ALSO
db.execute, v.db.addcol, v.db.addtable, v.db.connect, v.db.droptable, v.db.select

AUTHOR
Moritz Lennert (mlennert@club.worldonline.be)

Last changed: $Date: 2006/06/21 10:09:54 $

Full index