Moritz wrote:
> > s/db.execute/db.select
Markus wrote:
> Cool.
>
> But I thought that both did essentially the same job?
nope.
> Apparently not... I wonder if we could trap "SELECT" in
> db.execute and point the user to db.select.
> ?
I recall that Radim gave a good explanation about why they had
to be separated; probably to be found in the ML archives near to
the time when this was added to the db.execute man page:
"""
NOTES
db.execute only executes SQL statements and does not return any data.
If you need
data returned from the database, use db.select.
"""
Hamish
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev