Page 1 of 1

Documentation errata or undocumented feature? DatabaseQuery

Posted: Sat Jun 02, 2018 3:26 am
by RobertSF
The documentation for DatabaseQuery says

Code: Select all

Executes a SQL query on the given database. Only queries which doesn't change the database records are accepted ('SELECT' like queries). To performs database modification, use DatabaseUpdate(). 
I didn't read the documentation and went ahead and used DatabaseQuery to update a record (e.g. UPDATE tablename SET field = value WHERE condition), and it works. The record is successfully updated with no apparent ill effects.

Can anyone else confirm this? "Yes, but do that twice, and it will clobber the stack, crashing your program" sort of thing?

Re: Documentation errata or undocumented feature? DatabaseQu

Posted: Fri Mar 06, 2020 10:54 pm
by Andre
Anyone?
(suggestions for improving the docs....?)