Documentation errata or undocumented feature? DatabaseQuery
Posted: Sat Jun 02, 2018 3:26 am
The documentation for DatabaseQuery says
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?
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().
Can anyone else confirm this? "Yes, but do that twice, and it will clobber the stack, crashing your program" sort of thing?