[GRASS5] db.oodbfedit: a _very_ simplistic approach to dbf attribute editing

Daniel Calvelo Aros dcalvelo at minag.gob.pe
Mon Aug 8 12:21:42 EDT 2005

From: Glynn Clements <glynn at gclements.plus.com>
Sent: Sat, 6 Aug 2005 14:45:00 +0100
> Daniel Calvelo Aros wrote:
> > 
> > update table foo set bar=baz/2+1/(-4*toto);
> Does this handle updating multiple fields correctly? I.e. if you do:
> 	update table foo set bar=bar+1, baz=bar
> will baz contain the original value of bar (not the updated value)?

Not yet :). Good sight. Currently it updates sequentially, a la C's ','
operator. Easy to fix, though: use a temp copy of the record. I'll fix that
later today.


More information about the grass-dev mailing list