[whatwg] SQL API + access to tables

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@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

Received on Friday, 19 October 2007 23:41:05 UTC