[whatwg] SQL API + access to tables
Křištof Želechovski
giecrilj at stegny.2a.pl
Fri Oct 19 23:41:05 PDT 2007
To achieve what? To make spying and breaking easier? The developer should
know the structure of the database in advance; making such guesswork in
production code on the end user's machine is at least inappropriate.
Also, if we agreed to that, this would be a workaround for a supposed
deficiency of SQL. But the SQL committee does not recognize it as a
deficiency; otherwise it would have been fixed by now.
Best regards,
Chris
-----Original Message-----
From: whatwg-bounces at lists.whatwg.org
[mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Brady Eidson
Sent: Saturday, October 20, 2007 3:14 AM
To: WHATWG Mailing List
Subject: [whatwg] SQL API + access to tables
There is no standard way in SQL that I know of to get the list of
tables in a database.
In SQLite you can enumerate tables out of sqlite_master, but that
should not be encouraged.
What are people's thoughts about adding this to the API?
~Brady
More information about the whatwg
mailing list