[GRASS-dev] SQLite driver problem
Hamish
hamish_b at yahoo.com
Tue Dec 14 18:02:13 EST 2010
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
More information about the grass-dev
mailing list